< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

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
Tata Consultancy Services
Mailto: gurpreet.sidhu@xxxxxxx
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
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



_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel