2009/1/19 harbhanu <[email protected]>: > Hi, > > For all the headers defined in 3261, which are obtained from ( name-addr / > addr-spec ), we have a rules saying that the values > > must be wrapped with '<' and '>', incase addr-spec contains any of comma, > semi-colon or question mark. > > > So, does the value for "Refer-To" also follows same normative rule, as it's > also obtained from name-addr / addr-spec ?? > > I couldn't find any normative statement in rfc-3515 for this. Thanks!
Yes, both are similar: From = ( "From" / "f" ) HCOLON from-spec from-spec = ( name-addr / addr-spec ) *( SEMI from-param ) from-param = tag-param / generic-param tag-param = "tag" EQUAL token Refer-To / r RFC 3515 RFC 4508 Up Refer-To = ( "Refer-To" / "r" ) HCOLON ( name-addr / addr-spec ) *(SEMI refer-param) refer-param = generic-param / feature-param http://tech-invite.com/Ti-sip-abnf-hf.html#From http://tech-invite.com/Ti-sip-abnf-hf.html#Refer-To Any header containing a (SIP) URI has usually this syntax. This is because if the header also contains *header* params, then the URI must be written in name-addr way, with < >. If not, the URI parameters would be mixed with the header parameters. Regards. -- Iñaki Baz Castillo <[email protected]> _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
