Commit 53418eaa authored by Muhammadali's avatar Muhammadali

update

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