Commit cb93c368 authored by Muhammadali's avatar Muhammadali

update-

parent 144e0814
{
"name": "boxdialer",
"version": "2.6.4",
"version": "2.6.5",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -217,16 +217,15 @@ export class BoxDialer {
getBxUiState(sipState) {
if (sipState && !!sipState.length) sipState = this.sipState;
let uiStates = {
stack_i_new_call:
this.callDirection === 'in'
? 'connectingIncoming'
: 'connectingOutgoing',
stack_i_new_call: this.callDirection === 'in' ? 'incoming' : 'outgoing',
call_connected: 'connected',
call_m_stream_audio_remote_added: 'connected',
// call_i_ao_request: 'connectingOutgoing',
stack_m_permission_accepted:
this.callDirection === 'in' ? 'incoming' : 'outgoing',
this.callDirection === 'in'
? 'connectingIncoming'
: 'connectingOutgoing',
};
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