Table Of Contents
SIP Parameter Modification
The SIP Parameter modificationfeature allow customers to add, remove, or modify the SIP parameters in the SIP messages going out of a border element. The SIP message is generated from the standard signaling stack, but runs the message through a parser which can add, delete or modify specific parameters. This allows interoperability with additional third party devices that require specific SIP message formats. All SIP methods and responses are supported, profiles can be added either in dial-peer level or global level. Basic Regular Expression support would be provided for modification of header values. SDP parameters can also be added, removed or modified.
This feature is applicable only for outgoing SIP messages. Changes to the messages are applied just before they are sent out, and the SIP SPI code does not remember the changes. Because there are no restrictions on the changes that can be applied, users must be careful when configuring this feature - for example, the call might fail if a regular expression to change the To tag value is configured.
The all keyword is used to apply rules on all requests and responses.
Prerequisites
Cisco Unified Border Element
•
Cisco IOS Release 12.4(15)XZ or a later release must be installed and running on your Cisco Unified Border Element.
Cisco Unified Border Element (Enterprise)
•
Cisco IOS XE Release 2.5 or a later release must be installed and running on your Cisco ASR 1000 Series Router.
Restrictions
•
This feature applies to outgoing SIP messages.
•
This feature is disabled by default.
•
Removal of mandatory headers is not supported.
•
This feature allows removal of entire MIME bodies from SIP messages. Addition of MIME bodies is not supported.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
dial-peer voice number voip
4.
voice-class sip profiles group-number
5.
response option sip-header option ADD word CR
6.
exit
7.
end
DETAILED STEPSExample
!!!voice service voipallow-connections sip to sipredirect ip2ipsipearly-offer forcedmidcall-signaling passthrusip-profiles 1!!!voice class sip-profiles 1request INVITE sip-header Supported removerequest INVITE sip-header Min-SE removerequest INVITE sip-header Session-Expires removerequest INVITE sip-header Unsupported modify "Unsupported:" "timer"!!!