Subject: RE: [SIP] Display Name

From: Peter Kjellerstedt <[email-masked]>
Date: Fri, 21 Jul 2000 11:56:25 +0200

> -----Original Message-----
> From: Jo Hornsby [mailto:[email-masked]]
> Sent: 21 July 2000 11:46
> To: Jonathan Rosenberg; Dvir Oren
> Cc: SIP
> Subject: RE: [SIP] Display Name
> 
> > I believe it has to be a quoted string if it contains non-token
> > characters:
> > 
> > Contact: "< this is a test" <sip:user@host>
> 
> Is this definitely right?

Yes. Note the reference to non-token characters above (in this
case it is the < character, not the spaces).

> 6.15 says:
>     Contact = ( "Contact" | "m" ) ":" 
>                  ("*" | (1# (( name-addr | addr-spec )
>                  *( ";" contact-params ) )))
> 
>        name-addr      = [ display-name ] "<" addr-spec ">"
>        addr-spec      = SIP-URL | URI
>        display-name   = *token | quoted-string
> 
> And given the "implied *LWS" rule in appendix C, doesn't that make
> Contact: Monsieur Muppet <sip:[email-masked]> legal?

Yes, it does too. In this case it is tokens separated by LWS.

>  - Jo.

//Peter

_______________________________________________
SIP mailing list
[email-masked]
http://lists.bell-labs.com/mailman/listinfo/sip