Commit 7b173ea7 authored by Muhammadali's avatar Muhammadali

update version: 0.5.6

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