Commit 86c73b49 authored by Muhammadali's avatar Muhammadali

update

parent 3702ef22
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.2.9", "version": "1.3.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -215,10 +215,11 @@ export class BoxDialer { ...@@ -215,10 +215,11 @@ export class BoxDialer {
getBxUiState(sipState) { getBxUiState(sipState) {
if (sipState && !!sipState.length) sipState = this.sipState; if (sipState && !!sipState.length) sipState = this.sipState;
let uiStates = { let uiStates = {
stack_i_new_call: 'connectingIncoming', stack_i_new_call: '',
call_connected: 'connectingOutgoing', call_connected: 'connectingOutgoing',
call_m_stream_audio_remote_added: 'connected', call_m_stream_audio_remote_added: 'connected',
call_i_ao_request: 'connectingOutgoing', call_i_ao_request: 'connectingOutgoing',
stack_m_permission_accepted: 'connectingIncoming',
}; };
return sipState && uiStates[sipState] ? uiStates[sipState] : 'idle'; return sipState && uiStates[sipState] ? uiStates[sipState] : 'idle';
......
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