Commit fd1c7d6f authored by Muhammadali's avatar Muhammadali

update-

parent 94f13190
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.6.7", "version": "3.6.8",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -85,16 +85,14 @@ export class BoxDialer { ...@@ -85,16 +85,14 @@ export class BoxDialer {
// this.hangupButtonClick(); // this.hangupButtonClick();
// this.closeBxCall(); // this.closeBxCall();
setTimeout(() => { this.setGuiPhoneState({
this.setGuiPhoneState({ funcName: 'modalState',
funcName: 'modalState', stateCode: 'connectingOutgoing',
stateCode: 'connectingOutgoing', funcParam: {
funcParam: { bool: false,
bool: false, callType: '',
callType: '', },
}, });
});
}, 2000);
}, },
failed: (e) => { failed: (e) => {
console.log('%c failed', 'font-size: 22px; color: green;', e); console.log('%c failed', 'font-size: 22px; color: green;', e);
...@@ -691,6 +689,10 @@ export class BoxDialer { ...@@ -691,6 +689,10 @@ export class BoxDialer {
this.callDirection = 'out'; this.callDirection = 'out';
let phoneNumberString = phoneNumber.toString(); let phoneNumberString = phoneNumber.toString();
if (phoneNumberString.length) { if (phoneNumberString.length) {
this.setGuiPhoneState({
funcName: 'dynamicValue',
funcParam: false,
});
this.callSession = this.ua.call( this.callSession = this.ua.call(
'sip:' + phoneNumberString + '@' + this.sipDomain, 'sip:' + phoneNumberString + '@' + this.sipDomain,
this.options, this.options,
......
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