Commit 0f248170 authored by Muhammadali's avatar Muhammadali

update

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