Hello,

Probably this is the text you are looking for :

RFC3216 20.10

"   Even if the "display-name" is empty, the "name-addr" form MUST be
   used if the "addr-spec" contains a comma, semicolon, or question
   mark. "

Best regards,
Ben. 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Iñaki Baz 
Castillo
Sent: vrijdag 6 februari 2009 10:57
To: SIP Implementors Mailing list
Subject: [Sip-implementors] Is valid ";" into addr-spec without using name-addr 
?

Hi, I "think" that the symbol ";" is no valid into addr-spec if it is not 
enclosed into a name-adrr (< ... >), this is, the following is
invalid:

  From:  sip:user;[email protected];header-param=value

Since the SIP userinfo part contains ";", the whole URI would be enclosed into 
name-addr, so the valid form would be:

 From:  <sip:user;[email protected]>;header-param=value

The parser I'm building has exactly this behaviour, this is: the first case is 
parsed as invalid while the second is valid. Could I get a confirmation on it? 
I remember this was especified in some part of
RFC3261 but I don't find it now.

Thanks a lot.

PD: In case I'm right, is there any other symbol valid into name-addr but 
invalid into addr-spec?

--
Iñaki Baz Castillo
<[email protected]>

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

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

Reply via email to