Commit 981ac913 authored by Muhammadali's avatar Muhammadali

update-

parent f9d1d24d
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "3.5.4", "version": "3.5.5",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -293,11 +293,23 @@ export class BoxDialer { ...@@ -293,11 +293,23 @@ export class BoxDialer {
this.onSoundType({ type: 'ring', bool: true }); this.onSoundType({ type: 'ring', bool: true });
this.setGuiPhoneState({ this.setGuiPhoneState({
funcName: 'modalState', funcName: 'modalState',
stateCode: 'connectingIncoming',
funcParam: { funcParam: {
bool: true, bool: true,
callType: 'incoming', callType: 'incoming',
}, },
}); });
this.callSession.on('progress', (e) => {
console.log(
'%c progress: ',
'font-size: 22px; color: yellow;',
e,
);
this.setGuiPhoneState({
stateCode: 'incoming',
});
});
// incoming call here // incoming call here
this.callSession.on('accepted', () => { this.callSession.on('accepted', () => {
console.log( console.log(
...@@ -390,13 +402,7 @@ export class BoxDialer { ...@@ -390,13 +402,7 @@ export class BoxDialer {
this.callSession.on('sending', (e) => { this.callSession.on('sending', (e) => {
console.log('%c sending: ', 'font-size: 22px; color: yellow;', e); console.log('%c sending: ', 'font-size: 22px; color: yellow;', e);
}); });
this.callSession.on('progress', (e) => {
console.log(
'%c progress: ',
'font-size: 22px; color: yellow;',
e,
);
});
this.callSession.on('newDTMF', (e) => { this.callSession.on('newDTMF', (e) => {
console.log('%c newDTMF: ', 'font-size: 22px; color: yellow;', e); console.log('%c newDTMF: ', 'font-size: 22px; color: yellow;', e);
}); });
......
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