Both are valid.

BTW, Display name need not always be a quoted-string. It could be a set
of LWS-separated tokens (with no DQUOTs).

Regards
Satya T 

-----Original Message-----
From: sip-implementors-boun...@lists.cs.columbia.edu
[mailto:sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of
Alex Balashov
Sent: Friday, September 04, 2009 11:08 PM
To: sip-implementors@lists.cs.columbia.edu
Subject: [Sip-implementors] Carets encasing URIs.

I cannot easily tell from 3261 whether references to URIs other than the
Request URI must be encased in "<" and ">" or not, probably because I do
not know how to read BNF.

In other words, in the absence of a display name (which would be a
quoted string), is this valid?

    Contact: sip:xx.xxx.xx.xxx:5060

What about this?

    To: sip:xx.xxx.xxx.xxx:5060

I was under the impression it was not, but this is mainly because I've
never seen any implementation NOT use that notation regardless of
whether it is necessary.  I do not know if the rules here are more or
less strict than RFC 2822.

Thanks!

--
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671
_______________________________________________
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

Reply via email to