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

Re: [reSIProcate] Fw: Re: Multiple Application Registration with Same Sip URI


The application parameter is specified as an Exists parameter to match
RFC 3840.  Is there another RFC that specifies application as a token
parameter?

To get around this (at least for adding to a message) you can try
defining a custom extension parameter, ie:
static const resip::ExtensionParameter p_xapplication("application");
...
msg.header(h_Contacts).front().param(p_xapplication) = "ABC";

Scott

On Thu, Nov 12, 2009 at 8:09 AM, Gurpreet Sidhu <gurpreet.sidhu@xxxxxxx> wrote:
> Sorry for last mail
>
> If I set
> msg.header(h_Contacts).front().param(p_application) = "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
>
> -----Forwarded by Gurpreet Sidhu/DEL/TCS on 11/12/2009 06:38PM -----
>
> To: Scott Godin <sgodin@xxxxxxxxxxxxxxx>
> From: Gurpreet Sidhu/DEL/TCS
> Date: 11/12/2009 06:37PM
> cc: resiprocate-devel@xxxxxxxxxxxxxxx
> Subject: 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
>
>
>