Commit 93c48c06 authored by Muhammadali's avatar Muhammadali

update-

parent 5ca186e5
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.7.6", "version": "3.7.7",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -688,10 +688,10 @@ export class BoxDialer { ...@@ -688,10 +688,10 @@ export class BoxDialer {
let phoneNumberString = phoneNumber.toString(); let phoneNumberString = phoneNumber.toString();
if (phoneNumberString.length) { if (phoneNumberString.length) {
// this.setGuiPhoneState({ this.setGuiPhoneState({
// funcName: 'dynamicValue', funcName: 'phoneModal',
// funcParam: false, funcParam: false,
// }); });
this.options.extraHeaders = ['X-AloVoice-Test: 123']; this.options.extraHeaders = ['X-AloVoice-Test: 123'];
this.callSession = this.ua.call( this.callSession = this.ua.call(
'sip:' + phoneNumberString + '@' + this.sipDomain, 'sip:' + phoneNumberString + '@' + this.sipDomain,
......
...@@ -53,6 +53,7 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -53,6 +53,7 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
boxDialer.setSipStateChangeCallback(setDynamicValue, 'dynamicValue'); boxDialer.setSipStateChangeCallback(setDynamicValue, 'dynamicValue');
boxDialer.setSipStateChangeCallback(setModalState, 'modalState'); boxDialer.setSipStateChangeCallback(setModalState, 'modalState');
boxDialer.setSipStateChangeCallback(setSecondLine, 'secondLine'); boxDialer.setSipStateChangeCallback(setSecondLine, 'secondLine');
boxDialer.setSipStateChangeCallback(setPhoneModal, 'phoneModal');
boxDialer.sipRegister(wsphonedata); boxDialer.sipRegister(wsphonedata);
} }
}, []); }, []);
......
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