[Users] Param in SIP header

Michel Bensoussan michel at extricom.com
Tue Mar 6 07:26:00 CET 2007



Daniel-Constantin Mierla wrote:
> Hello,
>
> On 03/05/07 17:56, Michel Bensoussan wrote:
>> Hello
>>
>> I need to add a proprietary parameter in the the contact header of 
>> the REGISTER message. Something like
>>
>> REGISTER sip:registrar.biloxi.com SIP/2.0
>>
>> Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
>>
>> Max-Forwards: 70
>>
>> To: Bob <sip:bob at biloxi.com>
>>
>> From: Bob <sip:bob at biloxi.com>;tag=456248
>>
>> Call-ID: 843817637684230 at 998sdasdh09
>>
>> CSeq: 1826 REGISTER
>>
>> Contact: <sip:bob at 192.0.2.4>*;my_param=1:2:3       
>> <----------------------
>> *
>>
>> Expires: 7200
>>
>> Content-Length: 0
>>
>>
>> I want to add this parameter between the UA and the OpenSER.
>> This is not simple so before I start I want to be sure that:
>> 1. There is no contradiction with the SIP standard.
>> 2. OpenSER will handle it without any patch (actually just ignore 
>> this parameter).
> openser will ignore it, but will get stored in usrloc.The UA could 
> reject it in 200OK or new INVITEs to it.
Is there a better way to pass an information, like the parameter I need, 
in the REGISTER message?
Thanks,
Michel.
>
> Cheers,
> Daniel
>
>>
>> Thanks.
>>
>> Regards,
>> Michel.
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>>   
>
>




More information about the Users mailing list