Commit 53418eaa authored by Muhammadali's avatar Muhammadali

update

parent 80a03639
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.6.8", "version": "1.6.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -215,15 +215,17 @@ export class BoxDialer { ...@@ -215,15 +215,17 @@ export class BoxDialer {
} }
getBxUiState(sipState) { getBxUiState(sipState) {
console.log('getBxUiState_sipState: ', sipState);
if (sipState && !!sipState.length) sipState = this.sipState; if (sipState && !!sipState.length) sipState = this.sipState;
let uiStates = { let uiStates = {
stack_i_new_call: // stack_i_new_call:
this.callDirection === 'in' ? 'connectingIncoming' : 'connected', // this.callDirection === 'in' ? 'connectingIncoming' : 'connected',
call_connected: 'connected', call_connected: 'connected',
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: // stack_m_permission_accepted:
// this.callDirection === 'in' ? 'incoming' : 'outgoing', // this.callDirection === 'in' ? 'incoming' : 'outgoing',
stack_m_permission_accepted: 'incoming',
}; };
return sipState && uiStates[sipState] ? uiStates[sipState] : ''; return sipState && uiStates[sipState] ? uiStates[sipState] : '';
......
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