Commit 93c48c06 authored by Muhammadali's avatar Muhammadali

update-

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