The Adtran community holiday season is starting next week! The holiday period will span from December 21, 2024 to January 6, 2025. During this time, responses to feedback form submissions may be delayed. If you are encountering product issues, you can reach out to Adtran support at any time.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
serpent1234
New Contributor

SIP Headers

Jump to solution

What are the diversion and p-assertion headers?

What is the difference between them?

And when do i use them?

My understanding was that the PAI was used so that a PBX could send CLID of an external caller out to a CFA phone?

And the Diversion header was set when a PBX was not sending caller ID?

Is that right?

0 Kudos
1 Solution

Accepted Solutions
Anonymous
Not applicable

Re: SIP Headers

Jump to solution

Serpent1234,

Thanks for posting!  From RFC 3325, the definition of a P-Asserted-Identity header is the following.


The P-Asserted-Identity header field is used among trusted SIP


  entities (typically intermediaries) to carry the identity of the user


  sending a SIP message as it was verified by authentication.


The softswitch and SBCs can choose how to use this information.  It may be used within a trusted domain to validate the sender of the SIP message.  This is sometimes needed when the From header is set to "anonymous".  In other cases, this header is actually used as the caller ID. 

The Diversion header is defined in RFC 5806. 


The Diversion header allows implementation of feature logic based on from whom the call was diverted.


Therefore, we typically see or use the Diversion header whenever a call is being forwarded to a new destination not specified in the original request.  If the Adtran unit were to just change the Request URI to the new destination, the call will often be rejected by the softswitch.  Generally this is because the From header contains the original caller ID, and the softswitch does not associate this caller ID with this customer site.  In other words, it appears to be a spoofed caller ID.  The Diversion header allows us to specify that the call was diverted by a known number for this customer, which the softswitch can utilize to validate the call.

Thanks!

David

View solution in original post

0 Kudos
1 Reply
Anonymous
Not applicable

Re: SIP Headers

Jump to solution

Serpent1234,

Thanks for posting!  From RFC 3325, the definition of a P-Asserted-Identity header is the following.


The P-Asserted-Identity header field is used among trusted SIP


  entities (typically intermediaries) to carry the identity of the user


  sending a SIP message as it was verified by authentication.


The softswitch and SBCs can choose how to use this information.  It may be used within a trusted domain to validate the sender of the SIP message.  This is sometimes needed when the From header is set to "anonymous".  In other cases, this header is actually used as the caller ID. 

The Diversion header is defined in RFC 5806. 


The Diversion header allows implementation of feature logic based on from whom the call was diverted.


Therefore, we typically see or use the Diversion header whenever a call is being forwarded to a new destination not specified in the original request.  If the Adtran unit were to just change the Request URI to the new destination, the call will often be rejected by the softswitch.  Generally this is because the From header contains the original caller ID, and the softswitch does not associate this caller ID with this customer site.  In other words, it appears to be a spoofed caller ID.  The Diversion header allows us to specify that the call was diverted by a known number for this customer, which the softswitch can utilize to validate the call.

Thanks!

David

0 Kudos