[sr-dev] about contact params

Iñaki Baz Castillo ibc at aliax.net
Fri Nov 26 12:40:30 CET 2010


2010/11/26 Juha Heinanen <jh at tutpro.com>:
> i noticed that if i add ;alias param to contact header that does not
> surround its contact uri in <>s like this:
>
> Contact: sip:foo at bar;alias=value

In this header, "alias" is a header parameter. 100% sure.


> then some sip entities interpret ;alias as header param rather than uri
> param.
>
> so i went and added <>s if they are not present resulting to this:
>
> Contact: <sip:foo at bar;alias=value>

In this case "alias" is a SIP URI parameter.


> i have tried to figure out from rfc3261 what kind of param ;alias is in
> the first example, but have not found the answer.  looks like it is
> unspecified in rfc3261.

It's specified in the BNF grammar and AFAIR somewhere else. But I can
sure that what I say above is correct.




-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list