Commit 7dc13fd8 authored by Muhammadali's avatar Muhammadali

update

parent 9bb0698b
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.3.3", "version": "1.3.4",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -24,6 +24,7 @@ export class BoxDialer { ...@@ -24,6 +24,7 @@ export class BoxDialer {
viewVideoRemote; viewVideoRemote;
viewLocalScreencast; // <video> (webrtc) or <div> (webrtc4all) viewLocalScreencast; // <video> (webrtc) or <div> (webrtc4all)
oConfigCall; oConfigCall;
callDirection;
oReadyStateTimer; oReadyStateTimer;
ringtone; ringtone;
ringbacktone; ringbacktone;
...@@ -331,6 +332,7 @@ export class BoxDialer { ...@@ -331,6 +332,7 @@ export class BoxDialer {
break; break;
case 'stack_i_new_call': case 'stack_i_new_call':
this.callDirection = 'in';
this.oSipSessionCall = event.newSession; this.oSipSessionCall = event.newSession;
this.oSipSessionCall.setConfiguration(this.oConfigCall); this.oSipSessionCall.setConfiguration(this.oConfigCall);
this.onSoundType({ type: 'ring', bool: true }); this.onSoundType({ type: 'ring', bool: true });
...@@ -416,6 +418,7 @@ export class BoxDialer { ...@@ -416,6 +418,7 @@ export class BoxDialer {
// toast.error('Please enter another number'); // toast.error('Please enter another number');
// return; // return;
// } // }
this.callDirection = 'out';
this.callBxMethods({ this.callBxMethods({
bxMethodName: 'CallCardSetUiState', bxMethodName: 'CallCardSetUiState',
bxFuncParams: { uiState: 'connectingOutgoing' }, bxFuncParams: { uiState: 'connectingOutgoing' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment