Skip to content

Commit 64ff04f

Browse files
Merge branch 'voip-branch-test' into livechat-voip/contexts-providers
2 parents b81f5cc + 17fe2af commit 64ff04f

File tree

6 files changed

+5
-3
lines changed

6 files changed

+5
-3
lines changed

app/api/server/v1/voip/server-config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ API.v1.addRoute('voipServerConfig.callServer', { authRequired: true }, {
6767

6868
return API.v1.success({ ...config });
6969
},
70+
7071
// NOTE: you can use this POST endpoint for both create and update operation
72+
7173
async post() {
7274
check(this.bodyParams, Match.ObjectIncluding({
7375
host: String,

client/components/voip/Callstate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export type CallState =
1212
| 'IN_CALL'
1313
| 'UNREGISTERED'
1414
| 'SERVER_DISCONNECTED'
15-
| 'ERROR';
15+
| 'ERROR';

client/views/voip/VoIPLayout.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const VoIPLayout: FC<{
104104
return (
105105
<Box width='70%' m='auto'>
106106
<FieldGroup>
107+
107108
{enableVideo ? (
108109
<video
109110
id='remote_media'

client/views/voip/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { registerVoIPRoutes } from './routes';

client/views/voip/routes.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
import { createRouteGroup } from '../../lib/createRouteGroup';
22

3-
console.log('asd');
43
export const registerVoIPRoutes = createRouteGroup('voip', '/voip', () => import('./VoIPRouter'));

definition/IVoipExtension.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export interface IVoipExtensionConfig extends IVoipExtensionBase{
1717
password: string;
1818
}
1919

20-
2120
export const isIVoipExtensionConfig = (obj: any): obj is IVoipExtensionConfig => obj.name !== undefined && obj.state !== undefined && obj.authType !== undefined && obj.password !== undefined;
2221

2322
export interface IQueueMembershipDetails {

0 commit comments

Comments
 (0)