Skip to content

Commit be3e463

Browse files
authored
feat: disable number validate in client side - emergency number support (#264)
1 parent cf5f9b7 commit be3e463

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/modules/Phone/index.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ export function createPhone({
564564
appName: appNameForSDK,
565565
appVersion,
566566
webphoneLogLevel: 1,
567-
// permissionCheck: false, // TODO: for Emmergency support in webRTC
567+
permissionCheck: false,
568568
},
569569
},
570570
{
@@ -605,19 +605,18 @@ export function createPhone({
605605
},
606606
spread: true,
607607
},
608-
// TODO: for Emmergency support in webRTC
609-
// {
610-
// provide: 'CallOptions',
611-
// useValue: {
612-
// permissionCheck: false,
613-
// },
614-
// spread: true,
615-
// },
608+
{
609+
provide: 'CallOptions',
610+
useValue: {
611+
permissionCheck: false,
612+
},
613+
spread: true,
614+
},
616615
{
617616
provide: 'CallingSettingsOptions',
618617
useValue: {
619618
defaultCallWith,
620-
// emergencyCallAvailable: true, // TODO: for Emmergency support in webRTC
619+
emergencyCallAvailable: true,
621620
},
622621
spread: true,
623622
},

0 commit comments

Comments
 (0)