Commit fb59df5a authored by Muhammadali's avatar Muhammadali

update

parent 86bacf35
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.5.1", "version": "1.5.2",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -453,6 +453,7 @@ export class BoxDialer { ...@@ -453,6 +453,7 @@ export class BoxDialer {
}, },
}); });
} }
this.onSipStateChange.phoneModal(false);
console.log(this.oSipSessionCall, 'oSipSessionCall_Inset'); console.log(this.oSipSessionCall, 'oSipSessionCall_Inset');
} }
......
...@@ -45,6 +45,7 @@ const Root = ({ data, onSetDnd }) => { ...@@ -45,6 +45,7 @@ const Root = ({ data, onSetDnd }) => {
if (data && data?.number) { if (data && data?.number) {
boxDialer.setSipStateChangeCallback(setDynamicValue, 'dynamicValue'); boxDialer.setSipStateChangeCallback(setDynamicValue, 'dynamicValue');
boxDialer.setSipStateChangeCallback(setModalState, 'modalState'); boxDialer.setSipStateChangeCallback(setModalState, 'modalState');
boxDialer.setSipStateChangeCallback(setPhoneModal, 'phoneModal');
boxDialer.sipRegister(data); boxDialer.sipRegister(data);
} }
setDataSecond(data); setDataSecond(data);
...@@ -62,7 +63,12 @@ const Root = ({ data, onSetDnd }) => { ...@@ -62,7 +63,12 @@ const Root = ({ data, onSetDnd }) => {
data = result; data = result;
}; };
console.log(boxDialer.oSipSessionCall, 'oSipSessionCall'); // console.log(phoneModal, modalState, 'phoneModal');
// console.log(
// boxDialer.oSipSessionCall.o_session.o_stream_remote.id,
// 'oSipSessionCall',
// );
const selectWidjetType = (type) => { const selectWidjetType = (type) => {
switch (type) { switch (type) {
......
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