On 21 Mar 2014, at 11:33, J C Sunil Kumar Reddy <[email protected]> wrote:

> Hi All,
> 
> I need to send a proprietary parameter in contact header in an INVITE
> message to other end.
> Something like this:
> 
> Contact: "Sunil" <sip:[email protected];transport=tcp>;category:strvalue
> 
> Here "category:strvalue" is my proprietary parameter. Where "category" is a
> param name and "strvalue" is the value.
> 
> What does the SIP standard specify? whether it should be colon(:) or
> Equals(=)?
> I mean according to SIP standards, which is the correct one?
> 
> category:strvalue
> or
> category=strvalue
> or something else?

If you search for "header parameter" in rfc 3261 you will get a lot of 
examples, like this one:

   Contact: "Mr. Watson" <sip:[email protected]>
         ;q=0.7; expires=3600,
         "Mr. Watson" <mailto:[email protected]> ;q=0.1


I am poor at parsing the BNF and maybe it's covered in HTTP or somewhere else 
what the "proper way" for parameters are. That wood be interesting for now.

I would just follow the example and use the equal sign.

/O
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to