It could have been stated better in 3261 so that it would apply in all cases, rather than only in the named cases.
The basic rule should be that when there is an ambiguity in the grammar around the parsing of an addr-spec (as to whether the ',' ';' or '?' is part of the addr-spec or part of something else) then it should be considered part of something else. The ambiguity is removed by the <> in a name-addr. Thanks, Paul Rockson Li (zhengyli) wrote: > Harbhanu, > > I agree with you, addr-spec must be used as well for Refer-To. > However, looks like RFC3515 does not state this explicitly. > > Regards, > -Rockson > -----Original Message----- > From: sip-implementors-boun...@lists.cs.columbia.edu > [mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of > harbhanu > Sent: Monday, January 19, 2009 2:16 PM > To: sip-implementors@lists.cs.columbia.edu > Subject: [Sip-implementors] FW: Regarding Refer-To header > > 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. > > > > For example, statement fro 'From' header field: > > "Even if the "display-name" is empty, the "name-addr" form MUST be > used if the "addr-spec" > > contains a comma, question mark, or semicolon. Syntax issues are > discussed in Section 7.3.1." > > > > 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! > > > > Regards, > > Harbhanu > > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors