Commit 86c73b49 authored by Muhammadali's avatar Muhammadali

update

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