Open Fahad29 opened 1 year ago
When we dial a number, we also want to include the company's display name, as shown in the mobile version. But the display name "o_uri_to" is always null; how can we can update the name?
oConfigCall = { display_name: 'I Am Legend', // optional audio_remote: audioRemote, video_remote: viewVideoRemote, screencast_window_id: 0x00000000, // entire desktop bandwidth: { audio: undefined }, events_listener: { events: '*', listener: onSipEventSession }, sip_caps: [ { name: '+g.oma.sip-im' }, { name: 'language', value: '\"en,fr\"' } ] };
if (oSipStack && !oSipSessionCall && !tsk_string_is_null_or_empty(txtPhoneNumber.value)) { btnCall.disabled = true; // create call session oSipSessionCall = oSipStack.newSession(s_type, oConfigCall); // make call if (oSipSessionCall.call(txtPhoneNumber.value) != 0) { oSipSessionCall = null; txtCallStatus.innerHTML = 'Failed to make call'; btnCall.disabled = false; btnHangUp.disabled = true; return; }
When we dial a number, we also want to include the company's display name, as shown in the mobile version. But the display name "o_uri_to" is always null; how can we can update the name?
oConfigCall = { display_name: 'I Am Legend', // optional audio_remote: audioRemote, video_remote: viewVideoRemote, screencast_window_id: 0x00000000, // entire desktop bandwidth: { audio: undefined }, events_listener: { events: '*', listener: onSipEventSession }, sip_caps: [ { name: '+g.oma.sip-im' }, { name: 'language', value: '\"en,fr\"' } ] };