Thanks Brett, appreciate it. So I guess since the URI in the example below 
contains a semicolon, it has to have angular brackets. 
 
 
> P-Asserted-Identity: sip:[email protected];user=phone      ---------not 
> good

 
> P-Asserted-Identity: <sip:[email protected];user=phone>     
> ------------ good
 
 
 
Vivek.

From: Brett Tate <[email protected]>
To: Vivek Singla <[email protected]>; 
"[email protected]" 
<[email protected]> 
Sent: Thursday, June 28, 2012 3:05 PM
Subject: RE: [Sip-implementors] Angular brackets for P-Asserted-Identity

RFC 3261 section 20:

  The Contact, From, and To header fields contain a URI.  If the URI
  contains a comma, question mark or semicolon, the URI MUST be
  enclosed in angle brackets (< and >).  Any URI parameters are
  contained within these brackets.  If the URI is not enclosed in angle
  brackets, any semicolon-delimited parameters are header-parameters,
  not URI parameters.

> -----Original Message-----
> From: [email protected] [mailto:sip-
> [email protected]] On Behalf Of Vivek Singla
> Sent: Thursday, June 28, 2012 3:58 PM
> To: [email protected]
> Subject: [Sip-implementors] Angular brackets for P-Asserted-Identity
> 
> Hi,
> 
> I have a question regarding the format of the header p-asserted-
> identity.
> 
> P-Asserted-Identity: sip:[email protected];user=phone
> 
> P-Asserted-Identity: <sip:[email protected];user=phone>
> 
> Which one of the above is correct as per specs?
> 
> Please let me know where in rfc 3261 or any other to find out that both
> of them are acceptable.
> 
> I'd really appreciate.
> 
> Vivek.
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to