[SIPForum-discussion] Calling Party Name

Tomasz Zieleniewski tzieleniewski at gmail.com
Tue Apr 21 08:25:21 UTC 2009


Hi,

It must be a quoted string.
PAI's ABNF states that it can be constructed as name-addr or addr-spec.
If it is just an addr-spec it doesn't contain display-name part
but if it is name-addr then it can and if it does it must be a quoted string.

PAssertedID-value = name-addr / addr-spec

Cheers
-Tomasz

2009/4/20 Anders Kristensen <ankriste at cisco.com>:
> PAI display name, like display name in similar SIP header field, need *not*
> be a quoted string. From RFC 3325:
>
>      PAssertedID = "P-Asserted-Identity" HCOLON PAssertedID-value
>                      *(COMMA PAssertedID-value)
>      PAssertedID-value = name-addr / addr-spec
>
> and 3261:
>
> name-addr      =  [ display-name ] LAQUOT addr-spec RAQUOT
> addr-spec      =  SIP-URI / SIPS-URI / absoluteURI
> display-name   =  *(token LWS)/ quoted-string
>
> Thanks,
> Anders
>
> nabam serbang wrote:
>>
>> Tomasz is right that if user name is to be conveyed through PAI or Contact
>> header, they must be in quoted string. I guess your UA/B2BUA is not putting
>> correct value in PAI header some how. Does it happen everytime of in certain
>> call scenario only?
>>
>> Regard
>> ~Nabam
>>
>> ------------------------------------------------------------------------
>> *From:* Tomasz Zieleniewski <tzieleniewski at gmail.com>
>> *To:* yudia <yudia at phintraco.co.id>
>> *Cc:* nabamserbang at yahoo.com; discussion at sipforum.org
>> *Sent:* Friday, April 17, 2009 1:14:16 PM
>> *Subject:* Re: [SIPForum-discussion] Calling Party Name
>>
>> Hi,
>>
>> Then it is wrong, according to SIP ABNF display name part must be a
>> quoted string.
>>
>> Regards,
>> - Tomasz Zieleniewski
>>
>> 2009/4/16 yudia <yudia at phintraco.co.id <mailto:yudia at phintraco.co.id>>:
>>  > Hi Nabam,
>>  >
>>  > sometimes the header doesn't contain double quoted.
>>  >
>>  > Yudia
>>  >
>>  > -----Original Message-----
>>  > From: nabam serbang <nabamserbang at yahoo.com
>> <mailto:nabamserbang at yahoo.com>>
>>  > To: yudia <yudia at phintraco.co.id <mailto:yudia at phintraco.co.id>>,
>> discussion at sipforum.org <mailto:discussion at sipforum.org>
>>  > Date: Wed, 15 Apr 2009 21:20:09 -0700 (PDT)
>>  > Subject: Re: [SIPForum-discussion] Calling Party Name
>>  >
>>  > If you are using PAI to present the identity, CP name can be presented
>> on PAI header under double quoted. E.g:
>>  > P-Asserted-Identity: "the caller" <sip:31021 at xyz.com
>> <mailto:31021 at xyz.com>:5061>
>>  >
>>  > So you can display string "the caller" as calling party name.
>>  >
>>  > Does it helps?
>>  >
>>  > Nabam
>>  >
>>  >
>>  >
>>  >
>>  > ________________________________
>>  > From: yudia <yudia at phintraco.co.id <mailto:yudia at phintraco.co.id>>
>>  > To: discussion at sipforum.org <mailto:discussion at sipforum.org>
>>  > Sent: Wednesday, April 15, 2009 5:38:58 AM
>>  > Subject: [SIPForum-discussion] Calling Party Name
>>  >
>>  > Hi all,
>>  >
>>  > i still having having trouble in displaying the calling party name,
>> because we only receive calling party number between sip users.
>>  > We are using PAI header, and even tough we did found the user name in
>> trace log, but still cannot display CP-Name.
>>  >
>>  > Thank you for any inputs.
>>  >
>>  > Yudia
>>  >
>>  >
>>  > _______________________________________________
>>  > This is the SIP Forum discussion mailing list
>>>
>>>  TO UNSUBSCRIBE, or edit your delivery options, please visit
>>
>> http://sipforum.org/mailman/listinfo/discussion
>>  > Post to the list at discussion at sipforum.org
>> <mailto:discussion at sipforum.org>
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  >
>>  > _______________________________________________
>>  > This is the SIP Forum discussion mailing list
>>  > TO UNSUBSCRIBE, or edit your delivery options, please visit
>> http://sipforum.org/mailman/listinfo/discussion
>>  > Post to the list at discussion at sipforum.org
>> <mailto:discussion at sipforum.org>
>>  >
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> This is the SIP Forum discussion mailing list
>> TO UNSUBSCRIBE, or edit your delivery options, please visit
>> http://sipforum.org/mailman/listinfo/discussion
>> Post to the list at discussion at sipforum.org
>




More information about the discussion mailing list