Howto:How to customize the From/Identity header value at SIP interfaces: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
In some cases, SIP provider asks From/Identity header values we cannot build automatically.  
In some cases, SIP providers ask for From/Identity Header values which we cannot build automatically.  
Then we will use the "add UUI" in route map and a specific configuration in SIP interface for this.
In such circumstances we can use the "add UUI" in Route Map and a specific configuration in the SIP interface for this.


==Applies To==
==Applies To==
This information applies to all innovaphone gateway
This information applies to all innovaphone gateways


* V12r2 and higher
* V12r2 and higher
Line 11: Line 11:
===Problem Details===
===Problem Details===


If we look configuration of From or Identity header in SIP interface we see the innovaphone system try to build these headers with one of this way:
If we look into the configuration of From or Identity Header in the SIP interface, we see that the innovaphone system tries to build these headers with either one of the following:
* for FROM: Fixed AOR, AOR with CGPN as Display, CGPN in user part of URI
* for FROM: Fixed AOR, AOR with CGPN as Display, CGPN in user part of URI
* for IDENTITY: CGPN in user part of URI, Fixed AOR
* for IDENTITY: CGPN in user part of URI, Fixed AOR




In this case, the header is built automatically with pieces of information already know by the system as CGPN, AOR.
In this case, the header is built automatically with parts of information already known by the system as CGPN or AOR.
But in some case, the provider requires a value in these headers which is not related to any others known values. Then we need a way to store and apply this "fixed" value.
But in some cases, the provider requires a value in these Headers which is not related to any other known values. In such an event, we need a way to store and apply this "fixed" value.
So we will use both configurations parameters:
So we will use both configuration parameters:
* "add UUI" in route map : [http://wiki.innovaphone.com/index.php?title=Reference12r2:Gateway/Routes/Map]
* "add UUI" in route map : [http://wiki.innovaphone.com/index.php?title=Reference12r2:Gateway/Routes/Map]
* the UUI option in SIP interface configuration : [http://wiki.innovaphone.com/index.php?title=Reference12r2:Gateway/Interfaces/SIP]
* the UUI option in the SIP interface configuration : [http://wiki.innovaphone.com/index.php?title=Reference12r2:Gateway/Interfaces/SIP]




=== Route Map Configuration===
=== Route Map Configuration===
The goal here is to use a MAP '''certainly used for all outgoing calls'''. For this the better way is to use the last one, should be the map send the call to the SIP interface.  
The goal here is to use a MAP '''generally used for all outgoing calls'''. In order to achieve this, the better approach is to use the last one, which should be the MAP that sends the call to the SIP interface.  


[[Image:Routesmaps.PNG]]  
[[Image:Routesmaps.PNG]]  
Line 32: Line 32:
[[Image:AddUUI.PNG]]
[[Image:AddUUI.PNG]]


As the UUI will be used in a SIP header you should write here a valid SIP URI: "<sip:UriUserPart@UriDomainPart>"
As the UUI will be used in the SIP header, we should write here a valid SIP URI: "<sip:UriUserPart@UriDomainPart>"




Line 42: Line 42:




At this step, you should check the provider requirement, as we have many possibilities.
At this point, you should also check your provider's requirements, as we have also a few other possibilities to adjust: UUI in From or UUI in Identity.
UUI in From; UUI in Identity; we can also acting with advanced tweaks like "/pai on" for use P-Asserted-Identity or P-Preferred-Identity as Identity header.
We can also go further with Advanced Tweaks like "/pai on" used for P-Asserted-Identity or P-Preferred-Identity as Identity header.




[[Category:Howto|{{PAGENAME}}]]
[[Category:Howto|{{PAGENAME}}]]

Revision as of 10:22, 17 January 2019

In some cases, SIP providers ask for From/Identity Header values which we cannot build automatically. In such circumstances we can use the "add UUI" in Route Map and a specific configuration in the SIP interface for this.

Applies To

This information applies to all innovaphone gateways

  • V12r2 and higher

More Information

Problem Details

If we look into the configuration of From or Identity Header in the SIP interface, we see that the innovaphone system tries to build these headers with either one of the following:

  • for FROM: Fixed AOR, AOR with CGPN as Display, CGPN in user part of URI
  • for IDENTITY: CGPN in user part of URI, Fixed AOR


In this case, the header is built automatically with parts of information already known by the system as CGPN or AOR. But in some cases, the provider requires a value in these Headers which is not related to any other known values. In such an event, we need a way to store and apply this "fixed" value. So we will use both configuration parameters:

  • "add UUI" in route map : [1]
  • the UUI option in the SIP interface configuration : [2]


Route Map Configuration

The goal here is to use a MAP generally used for all outgoing calls. In order to achieve this, the better approach is to use the last one, which should be the MAP that sends the call to the SIP interface.

Routesmaps.PNG

Open this map and add the required value in "add UUI" field.

AddUUI.PNG

As the UUI will be used in the SIP header, we should write here a valid SIP URI: "<sip:UriUserPart@UriDomainPart>"


SIP interface configuration

In SIP interface select the UUI options in "From/Identity Header when Sending INVITE".

IdentityUUI.PNG


At this point, you should also check your provider's requirements, as we have also a few other possibilities to adjust: UUI in From or UUI in Identity. We can also go further with Advanced Tweaks like "/pai on" used for P-Asserted-Identity or P-Preferred-Identity as Identity header.