McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 2

↗ View in doc context
page
2
source
unified-border-element/reference/sip-technote/sip-technote.md
chunk_id
unified-border-element::reference::sip-technote::sip-technote::1

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command. Background Information SIP Profiles are used in order to manipulate header information in the SIP messages. They can also be used to make changes in the Session Description Protocol (SDP), which is used to negotiate media. Common SIP Message Normalization Scenarios This section provides several SIP message normalization scenarios that have been seen frequently. Each scenario includes the configuration required on Cisco IOS for your reference and a screenshot from the SIP Profile Test Tool that is mentioned in the Introduction. These scenarios can be used as references for other manipulation required on the SIP messages. Copy Value from Diversion Header to the From Header

voice class sip-profiles 1

request INVITE sip-header Diversion copy "<sip:(.)@." u01

request INVITE sip-header From copy ".<sip:(.)@.*" u02

request INVITE sip-header From modify "(.)<sip:.@(.*)" "\1<sip:\u01@\2"

request INVITE sip-header From modify "<sip:@" "<sip:\u02@"

Copy Number from To Header in an Incoming Invite to the REQ-URI Parameter (Prior to Cisco IOS Version 15.4)

Image 1 from page 2