Jump to: navigation, search

Modifying the From Header in SIP INVITE

SIP Server provides the ability to modify the From header in outgoing SIP INVITE messages. Use the following configuration options to enable this functionality, depending on your needs.

DN-Level Configuration Options

These cpn-controlling options are configured on an Extension DN or VoIP Service DN with service-type=softswitch.

cpn-self

Setting: DN level > [TServer] section
Default Value: An empty string
Valid Values: Any string
Changes Take Effect: For the next call

If configured, SIP Server replaces the User-Name in the From header of the INVITE message with the value of this option, when sending the INVITE to the device/DN where this option is specified. This option takes precedence over any other cpn-controlling option and the CPNDigits key in AttributeExtensions of a T-Library request.

cpn-dnis

Setting: DN level > [TServer] section
Default Value: An empty string
Valid Values: Any string containing the name of the VoIP Service DN with service-type=dial-plan
Changes Take Effect: For the next call

If configured, SIP Server replaces the User-Name in the From header of the INVITE message with the value produced by applying dial-plan rules to the call DNIS, when sending the INVITE to the device/DN where this option is specified. This option applies only to inbound calls.

cpn-digits-to-both-legs

Setting: DN level > [TServer] section
Default Value: false
Valid Values: true, false
Changes Take Effect: For the next call

This option applies to a TMakeCall request containing the CPNDigits key-value pair in AttributeExtensions. If set to true, SIP Server replaces the User-Name in the From header of the INVITE message with the value of the CPNDigits, when sending the INVITEs to a call originator and a call destination.

Important
Genesys does not recommend using the cpn configuration option and the options described above together on the same device.
This page was last edited on February 8, 2016, at 20:24.
Comments or questions about this documentation? Contact us for support!