Commit 7b173ea7 authored by Muhammadali's avatar Muhammadali

update version: 0.5.6

parent 50a7a031
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "0.5.5", "version": "0.5.6",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -246,7 +246,6 @@ export class BoxDialer { ...@@ -246,7 +246,6 @@ export class BoxDialer {
console.log(e, `CallCardSetUiState method done ${e}`); console.log(e, `CallCardSetUiState method done ${e}`);
}, },
}); });
} else { } else {
if (this.onSipStateChange[funcName] !== 'undefined') { if (this.onSipStateChange[funcName] !== 'undefined') {
this.onSipStateChange[funcName](funcParam); this.onSipStateChange[funcName](funcParam);
...@@ -417,10 +416,7 @@ export class BoxDialer { ...@@ -417,10 +416,7 @@ export class BoxDialer {
// return; // return;
// } // }
let phoneNumberString = phoneNumber.toString(); let phoneNumberString = phoneNumber.toString();
if ( if (phoneNumberString.length) {
phoneNumberString.length &&
phoneNumberString.replace(/\D/g, '').length === phoneNumberString.length
) {
this.oSipSessionCall = this.oSipStack.newSession( this.oSipSessionCall = this.oSipStack.newSession(
'call-audio', 'call-audio',
this.oConfigCall, this.oConfigCall,
......
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