[SIPForum-discussion] What are the uses of P-Preferred-Identity??

Dwight, Timothy M (Tim) timothy.dwight at verizon.com
Mon Aug 17 13:40:34 UTC 2015


Pendyala,

There is in some SIP implementations a distinction made between “user asserted identity” (the caller ID signaled by the originating UE) and “network asserted identity” (the network’s assertion of the caller’s identity).  Usually they are the same, but they can be different.

The From header carries “user asserted caller identity”.

The P-Asserted-Identity header carries “network asserted caller identity”.

P-Preferred-Identity is not intended to be presented to the UAS, it is only meant to communicate between the UA and the network to which it subscribes.  I suppose there could be corner cases where it finds its way to the UAS, but if so I think the UAS would ignore it.

See RFC-3325 and 5876 for additional information.

The purpose of the P-Preferred-Identity header is to allow the UA to influence the network’s assignment of P-Asserted-Identity.  Sometimes the UA has multiple identities.  The UE can when it originates a call, indicate in P-Preferred-Identity header field which of these it wishes the network to assert to the called party as its “network asserted identity”.  The network will typically validate that the identity in the P-Preferred-Identity header field is one that was previously assigned to the UA by the network (in 3GPP SIP networks this assignment happens during SIP registration).  If it matches, the network will use it derive the value of the P-Asserted-Identity header.  That derivation could be to simply copy the contents of P-Preferred-Identity into P-Asserted-Identity, or there might be some additional processing involved.  If the value signaled by the UA in P-Preferred-Identity doesn’t match any of the identities the network considers valid for use by the UA, the network will assign an identity it considers valid for use by the UA and place this in the P-Asserted-Identity header field.

It is possible that a SIP message received by the UAS will have both a From and a P-Asserted-Identity header field.  Either could in theory be rendered by the UAS to its user, as the “caller ID”.  In theory the decision is up to the device.  In practice there may be specifications to which the device is obliged to comply (e.g., if it’s a mobile device operating in a 3GPP network) that will dictate its behavior.  A common implementation is to render the caller ID presented to the user based on P-Asserted-Identity, if present;  and based on From, if P-Asserted-Identity is not present.

tim

From: discussion-bounces at sipforum.org [mailto:discussion-bounces at sipforum.org] On Behalf Of pendyala syam
Sent: Sunday, August 16, 2015 1:28 AM
To: discussion at sipforum.org
Subject: [SIPForum-discussion] What are the uses of P-Preferred-Identity??

Hi All,

As far I understand, P-Preferred-Identity will be shown as caller display name in callee UI. When SIP already have From header which carriers the caller identity, why is this P-Preferred-Identity header required? Why can't we use From header to show caller display name at callee UI?. Is there any added advantage of this header. Some body please explain. Thanks in advance.

Regards,
Pendyala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20150817/c72a18e3/attachment-0002.html>


More information about the discussion mailing list