Commit 0f248170 authored by Muhammadali's avatar Muhammadali

update

parent fad0939e
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.7.0", "version": "1.7.1",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -31,7 +31,6 @@ const Block = styled.div` ...@@ -31,7 +31,6 @@ const Block = styled.div`
`; `;
const SecondNotifSip = ({ secondLine }) => { const SecondNotifSip = ({ secondLine }) => {
console.log(secondLine, 'secondLine');
return <Block secondLine={secondLine}></Block>; return <Block secondLine={secondLine}></Block>;
}; };
......
...@@ -348,9 +348,9 @@ export class BoxDialer { ...@@ -348,9 +348,9 @@ export class BoxDialer {
break; break;
case 'stack_i_new_call': case 'stack_i_new_call':
console.log('stack_i_new_call', event);
this.onSipStateChange.secondLine(false); this.onSipStateChange.secondLine(false);
if (this.oSipSessionCall.o_session.o_stream_remote.id) { if (this.oSipSessionCall.o_session.o_stream_remote.id) {
console.log('oSipSessionCall__', 'SECOND_line');
this.onSipStateChange.secondLine(true); this.onSipStateChange.secondLine(true);
this.callDirection = 'in'; this.callDirection = 'in';
this.oSipSessionCallSecond = event.newSession; this.oSipSessionCallSecond = event.newSession;
...@@ -365,8 +365,8 @@ export class BoxDialer { ...@@ -365,8 +365,8 @@ export class BoxDialer {
// callFromName: event?.o_event?.o_session?.o_uri_from?.s_user_name, // callFromName: event?.o_event?.o_session?.o_uri_from?.s_user_name,
// }, // },
// }); // });
} else { }
console.log('oSipSessionCall__', 'FIRST_line'); {
this.onSipStateChange.secondLine(false); this.onSipStateChange.secondLine(false);
this.callDirection = 'in'; this.callDirection = 'in';
this.oSipSessionCall = event.newSession; this.oSipSessionCall = event.newSession;
......
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