RE: Registering display_name with SIPML session

43 views
Skip to first unread message

Jayanth Bondi

unread,
Dec 4, 2020, 11:05:08 AM12/4/20
to discuss-doubango
Hello,
How can I register display_name with SIP session, just before I initiate a call?

right now I'm doing this but it doesnot work.

`call = phoneNo => {
    if (!this.isRegistered()) return;
    this.oConfigCall.display_name = '54321';
    if (this.oSipStack && !this.oSipSessionCall) {
      this.oSipSessionCall = this.oSipStack.newSession('call-audio', this.oConfigCall);
      if (this.oSipSessionCall.call(phoneNo) !== 0) {
        this.oSipSessionCall = null;
      }
    } else if (this.oSipSessionCall) {
      this.oSipSessionCall.accept(this.oConfigCall);
    }
  };`

Can someone help me?
Reply all
Reply to author
Forward
0 new messages