Re: [reSIProcate] Multiple Application Registration with Same Sip URI
If I set
msg.header(h_Contacts).front().param(p_XXXX) = "ABC";
It shows in Contact
<contact>;application
I think It shoud display application="ABC";
Please tell how can I do this.
Thanks
Gurpreet Singh Sidhu
-----slgodin@xxxxxxxxx wrote: -----
To: Gurpreet Sidhu <gurpreet.sidhu@xxxxxxx>
From: Scott Godin <sgodin@xxxxxxxxxxxxxxx>
Sent by: slgodin@xxxxxxxxx
Date: 10/28/2009 07:23PM
cc: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate] Multiple Application Registration with Same Sip URI
You should be able to push additional contacts on the REGISTER request returned from dum::makeRegistration before calling dum::send.
To add a uri parameter to a contact header use:
msg.header(h_Contacts).front().uri().param(p_XXXX) = ....;
To add a contact parameter use:
msg.header(h_Contacts).front().param(p_XXX) = .... ;
Scott
On Tue, Oct 27, 2009 at 8:35 AM, Gurpreet Sidhu
< gurpreet.sidhu@xxxxxxx > wrote:
Hi
How can I add multiple contacts in Resiprocate while registering on SIP server?If I am not wrong SIP specifications supports multiple contacts.
Suppose I want to login to two different applicaitons using same SIP URI and I want to handle Audio Call in these two applications seperately. How can I acheive this?
Do I need to send seperate parameter to let the SIP server know which contact belong to which application?
Please also tell me how to add parameters in contact field in resiprocate?
Thanks
Gurpreet Singh Sidhu
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you