Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Show display name on Outgoing call. #362

@Fahad29

Description

@Fahad29

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;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions