Commit dd35865d authored by Muhammadali's avatar Muhammadali

update-

parent 87b6b6b0
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.5.8", "version": "3.5.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -305,11 +305,9 @@ export class BoxDialer { ...@@ -305,11 +305,9 @@ export class BoxDialer {
'font-size: 22px; color: yellow;', 'font-size: 22px; color: yellow;',
e, e,
); );
setTimeout(() => { this.setGuiPhoneState({
this.setGuiPhoneState({ stateCode: 'incoming',
stateCode: 'incoming', });
});
}, 3000);
}); });
// incoming call here // incoming call here
this.callSession.on('accepted', () => { this.callSession.on('accepted', () => {
...@@ -338,7 +336,7 @@ export class BoxDialer { ...@@ -338,7 +336,7 @@ export class BoxDialer {
this.callSession.on('confirmed', () => { this.callSession.on('confirmed', () => {
console.log( console.log(
'%c newRTCSession confirmed: ', '%c newRTCSession confirmed: ',
'font-size: 22px; color: yellow;' 'font-size: 22px; color: yellow;',
); );
// this handler will be called for incoming calls too // this handler will be called for incoming calls too
console.log( console.log(
......
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