[SIPForum-discussion] Calling Party Name

Tomasz Zieleniewski tzieleniewski at gmail.com
Wed Apr 22 08:09:47 UTC 2009


Hi Anders,

I am sorry, my mistake, You are of course right!
I don't know why I missed that.

Thank and keep on sipping:)

Regards
- Tomasz

2009/4/21 Anders Kristensen <ankriste at cisco.com>

> Hi Tomasz,
>
> Tomasz Zieleniewski wrote:
>
>> 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.
>>
>
> The grammar clearly says that display-name is *either* a sequence of LWS
> separated tokens *or* a quoted string so I don't understand why you say
> this.
>
>
>  display-name   =  *(token LWS)/ quoted-string
>
> Thanks,
> Anders
>
>
>> 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<sip%3A31021 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
>>>>
>>>
>> _______________________________________________
>> 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
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20090422/5e417837/attachment-0002.html>


More information about the discussion mailing list