[prev in list] [next in list] [prev in thread] [next in thread]
List: sip-implementors
Subject: Re: [Sip-implementors] Angular brackets for P-Asserted-Identity
From: Paul Kyzivat <pkyzivat () alum ! mit ! edu>
Date: 2012-06-28 20:18:06
Message-ID: 4FECBBFE.8070300 () alum ! mit ! edu
[Download RAW message or body]
Just to elaborate on what Brett said:
To answer this question, first you check the syntax. RFC 3325 says that
first parameter is 'name-addr / addr-spec' just as it is for From/To
etc. The 'name-addr' form uses the <...>, and the addr-spec doesn't.
The stuff that Brett quotes below mentions a few headers, but it applies
to any place that uses 'name-addr / addr-spec'.
And then you need to know that user=phone is indeed a uri paramter. So
the correct form for the question is:
P-Asserted-Identity:<sip:8182017700@10.77.59.140;user=phone>
Thanks,
Paul
On 6/28/12 4:05 PM, Brett Tate wrote:
> 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: sip-implementors-bounces@lists.cs.columbia.edu [mailto:sip-
>> implementors-bounces@lists.cs.columbia.edu] On Behalf Of Vivek Singla
>> Sent: Thursday, June 28, 2012 3:58 PM
>> To: Sip-implementors@lists.cs.columbia.edu
>> 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:8182017700@10.77.59.140;user=phone
>>
>> P-Asserted-Identity:<sip:8182017700@10.77.59.140;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
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic