-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I update displayName in sip session just before the call? #353
Comments
Same question, Found any solutions for this? |
Hi @shreyshahh , call = (phoneNo, callerId) => { |
You can console your this.oSipStack object and you can find 's_display_name' attribute |
@jayanthbondi Hi, I've updated s_display_name in sip stack object but it does not reflect that display name on call, it still shows the display name we have added while creating new SIPML stack object. It does not update even if we update s_display_name. For eg.
Just before call I am updating it,
So I need 'xyz' to be displayed, but instead it displays 'test' only |
currentnly I'm registering display_name in oConfigCall just before initiating the call.
But still it's not working, can someone help me?
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);
}
};
The text was updated successfully, but these errors were encountered: