Table Of Contents
Related Features and Technology
Upgrading to Support This Feature
SIP Headers That Support Customized Treatment
Implementing Inbound SIP Header Tables
Implementing Outbound SIP Header Tables
Provisioning SIP and EISUP Profiles
Cloning a SIP or EISUP Profile
Retrieving a SIP or EISUP Profile
Modifying a SIP or EISUP Profile
Adding a Common Profile, a Grprofile, or an ISUP Timer Profile Reference to a SIP Profile
Removing a Property from a SIP or EISUP Profile
Deleting a SIP or EISUP Profile
Removing a Property from a Common Profile
Adding a Common Profile or Grprofile Reference to a Domain Profile
Removing a Property from a Domain Profile
Modifying the Domain Profile Assigned to a Domain
Assigning Profiles to Trunk Groups
Adding a Profile to a Trunk Group
Modifying the Profile Assigned to a Trunk Group
Removing a Trunk Group from a Profile
Provisioning SIP Header Tables
Adding an Inbound SIP Header Table Entry
Adding an Outbound SIP Header Table Entry
Adding a SIP Header Table to a Profile
Modifying a SIP Header Table Entry
Retrieving a SIP Header Table Entry
Deleting an Entry from a SIP Header Table
Software Changes for This Feature
PROV-ADD:INSIPHEADER (Release 9.8(1))
PROV-ADD:OUTSIPHEADER (Release 9.8(1))
PROV-ADD:DOMAINPROF (Release 9.8(1))
PROV-ADD:PROFILE (Release 9.8(1))
Obtaining Documentation and Submitting a Service Request
SIP Profiles Feature Module
Document Release History
Publication Date CommentsDecember 2009
Updated the "SIP Header Tables" section.
February 2009
Updated for the ISUP timer profile reference in a SIP profile.
November 2008
Initial release of document.
Feature History
Release Modification9.8(1)
Added support for the ISUP timer profile reference in a SIP profile.
9.8(1)
The SIP Profiles feature was introduced on the Cisco PGW 2200 Softswitch software.
This document describes the SIP Profiles feature for the Cisco PGW 2200 Softswitch. The feature is described in the following sections:
•
Upgrading to Support This Feature
Feature Description
This feature introduces new service profiles for SIP, EISUP, and other protocols. Service profiles improve provisioning and security for the Cisco PGW 2200 Softswitch by allowing you to create a customized set of call properties and assign it to a call trunk group.
Profile Enhancements
Prior to the introduction of this feature, the Cisco PGW 2200 Softswitch supported two profile types: grprofiles (for SS7 and SIP trunk groups) and isuptmrprofiles (for SS7 sigpaths). This feature includes four new profile types:
•
SIP profiles—Profiles for SIP trunk groups.
•
EISUP profiles—Profiles for EISUP trunk groups.
•
Domain profiles—Profiles based upon a domain name. Domain profiles are for SIP interfaces only.
•
Common profiles—A general profile type that can handle SIP and EISUP trunk groups as well as properties from other protocols. SIP and EISUP profiles can contain references to a common profile.
Security Enhancements
SIP profiles introduce improved security features including topology hiding, back-to-back user agent (B2BUA), and customizable SIP header treatment. These features provide improved security by obscuring or removing call topology information and by allowing you to customize how the Cisco PGW 2200 Softswitch processes certain SIP headers. You can combine these features with the new profile types to create unique security settings for each service profile.
Property Enhancements
This feature replaces all existing SIP and EISUP trunk group properties with equivalent SIP and EISUP profile properties. After migrating to Release 9.8(1), you can no longer use trunk group properties. For more information about migrating to Release 9.8(1), see "Upgrading to Support This Feature" section.
Note
This feature does not affect sigpath properties.
Benefits
With this feature, you can
•
Create service profiles with custom provisioning and security settings
•
Apply profiles based on trunk group or domain name
•
Create separate profiles for inbound and outbound traffic
•
Define the a unique level of B2BUA support for each profile
•
Hide the topology of core and access networks by erasing Via: and Record-Route: headers from outbound SIP messages
•
Create customized SIP header treatment
Prerequisites
The Cisco PGW 2200 Softswitch must be running Cisco PGW 2200 Softswitch Software Release 9.8(1). Prerequisites for this release can be found in the Release Notes for the Cisco PGW 2200 Softswitch Software Release 9.8(1) at
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/pgw/9/release/note/rn981.html
Restrictions or Limitations
•
Limited service for transparent B2BUA mode for call transfers—The Cisco PGW 2200 Softswitch does not support transparent B2BUA mode for transferred calls. To read more about B2BUA modes, see "B2BUA Modes" section.
•
Limited trust policy for call transfers—The Cisco PGW 2200 Softswitch provides limited trust policy support for call transfers. The transferred call is considered trusted only if both legs of the call are trusted.
•
B2BUA Mode Limitation—The B2BUA mode implementation in this feature does not provide protocol repair or repair for a capability mismatch between call legs. To read more about B2BUA modes, see "B2BUA Modes" section.
•
SIP header table size limitation—You cannot create more than 20 entries in a SIP header table.
•
SIP profiles do not modify SIP messages affected by call treatment—SIP profiles do not modify the URLs of SIP messages that are affected by the existing call treatment in the Cisco PGW 2200 Softswitch configuration.
•
Topology hiding limitations—The following limitations apply to topology hiding:
–
For some messages that involve multiple contacts, such as 300 (Multiple Choices), 301 (Moved Permanently), and 302 (Moved Temporarily), the Cisco PGW 2200 Softswitch does not support topology hiding for retry requests. This is because the Cisco PGW 2200 Softswitch may obtain an incorrect routing analysis result when using domain-based routing to resolve a hostname that has been rewritten for topology hiding.
–
The sipEgressRoutingControl property modifies the Request-Line and Route headers. In full B2BUA, the default value MODIFY_REQUEST_LINE_NO_ROUTE_USED does not reveal topology information. However, the other available values might reveal topology information.
–
If your privacy policy requires that the hostname be set to "anonymous.invalid", topology hiding does not rewrite this hostname.
Related Features and Technology
The following features are related to SIP Profiles:
•
SIP-I Protocol
•
Multiple Inbound IP Trunks
Related Documents
Cisco PGW 2200 Softswitch Release 9.8 Provisioning Guide
http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/provisioning/guide/prvgde.html
Cisco PGW 2200 Softswitch Release 9.8 Dial Plan Guide
http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/dial_plan/guide/dplan.html
Cisco PGW 2200 Softswitch Release 9 MML Command Reference
http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/command/reference/mmlref_1.html
The documents that contain additional information related to the Cisco PGW 2200 Softswitch are available at
http://www.cisco.com/en/US/products/hw/vcallcon/ps2027/tsd_products_support_series_home.html
Upgrading to Support This Feature
For instructions on how to migrate to Release 9.8(1), see the Release Notes for the Cisco PGW 2200 Softswitch Software Release 9.8(1) at
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/pgw/9/release/note/rn981.html
The following caveats apply to the migration procedure:
•
If the Cisco PGW 2200 Softswitch is in B2BUA mode, the migration process sets all existing trunk groups to nontrusted.
•
The migration process converts existing trunk group properties to equivalent SIP and EISUP profile properties. If a trunk group property does not have an equivalent profile property, the migration script moves it to a common profile, which is referenced by the SIP or EISUP profile.
•
No domain profiles are defined by default.
Implementing SIP Profiles
The following sections describe how to implement the SIP profiles feature.
Creating Profiles
The following sections describe how to create SIP, EISUP, Common, and Domain profiles.
SIP Profiles
A SIP profile creates a set of provisioning properties that you can apply to SIP trunk groups. Each SIP profile can contain the following information:
•
SIP properties (former trunk group properties)
•
A pointer to a common profile (optional)
•
A pointer to a grprofile (optional)
•
A pointer to an ISUP timer profile (optional)
•
A pointer to an inbound SIP header table (optional)
•
A pointer to an outbound SIP header table (optional)
EISUP Profiles
An EISUP profile creates a set of provisioning properties that you can apply to EISUP trunk groups. Each EISUP profile can contain the following information:
•
EISUP properties (former trunk group properties)
•
A pointer to a common profile (optional)
•
A pointer to a grprofile (optional)
Common Profiles
A common profile is an extension of SIP and EISUP profiles that allows you to create a set of provisioning properties for multiple protocols. Common profiles can contain any of the properties present in other profile types.
Domain Profiles
A domain profile creates a set of provisioning properties that you can apply to one or more domain names. Each domain profile can contain the following information:
•
SIP provisioning properties
•
B2BUA properties introduced in this feature (optional)
•
A pointer to an inbound SIP header table (optional)
•
A pointer to an outbound SIP header table (optional)
Domain Table
The domain table defines the domain profile that is associated with a given domain name. The domain table contains the following information for each domain name:
•
A direction (inbound or outbound)
•
A pointer to a domain profile
Applying Multiple Profiles
If the Cisco PGW 2200 Softswitch processes traffic that matches both a SIP profile and a domain profile, the Cisco PGW 2200 Softswitch uses both profiles to process the SIP message.
Topology Hiding
Topology hiding improves network security in a VoIP environment by preventing customers on one side of a call from knowing the details of the network topology on the other side of the call. Prior to the introduction of this feature, the Cisco PGW 2200 Softswitch used two SIP modes: proxy mode and partial B2BUA mode. Both of these options provide some topology hiding between the incoming and outgoing sides of the call. This feature introduces a full B2BUA SIP mode which completely divides a SIP call into two separate SIP calls, with one call terminating at the Cisco PGW 2200 Softswitch and the other originating from the Cisco PGW 2200 Softswitch.
For a call in full B2BUA mode with topology hiding enabled, the Cisco PGW 2200 Softswitch rewrites the FROM, CONTACT, VIA, Call-ID, RECORD-ROUTE, Remote-Party-ID, and P-Asserted-ID headers to remove topology information. The Cisco PGW 2200 Softswitch does not rewrite headers that contain a Tel: URI (Telephone Uniform Resource Identifier) value.
By default, other headers include topology information, such as Refer-to and Diversion. You can define customized header treatment for some tags using the SIP header tables capability introduced in this feature.
Table 1 summarizes how the Cisco PGW 2200 Softswitch performs topology hiding for selected SIP headers.
B2BUA Modes
The SIP Profiles feature introduces four B2BUA modes so that you can configure multiple levels of call security. Each B2BUA mode provides a distinct level of unknown SIP header treatment and a topology hiding. You can configure B2BUA by setting the trustLevel and topologyHidingEnabled properties of each profile, which specify whether the trunk group is on a trusted interface and whether topology hiding is enabled.
Note
You can modify a profile's SIP header table to override the default treatment of unknown SIP headers.
Table 2 summarizes the trustLevel and topologyHidingEnabled values needed to configure each B2BUA mode.
SIP Header Tables
Each profile can contain a SIP header table, which defines a set of SIP headers and corresponding actions. SIP header tables allow you to customize how the Cisco PGW 2200 Softswitch treats calls based on defined SIP header values.
Table 3 describes the actions that the Cisco PGW 2200 Softswitch can take based on SIP headers in inbound and outbound traffic.
SIP Headers That Support Customized Treatment
The SIP Profiles feature defines two categories of SIP headers:
•
Known SIP headers—The first column of Table 4 lists known SIP headers in Cisco PGW 2200 Softswitch Software Release 9.8(1). The Cisco PGW 2200 Softswitch treats known SIP headers following its rules.
•
Unknown SIP headers—All of the SIP headers that are not listed in the first column of Table 4 are unknown SIP headers. The Cisco PGW 2200 Softswitch discards unknown SIP headers by default.
The second column of Table 4 lists SIP headers that support customized treatment for Cisco PGW 2200 Softswitch Software Release 9.8(1) by default. You can use SIP header tables to customize treatment for these SIP headers. Treatment that is available can be found in Table 3.
You can find provisioning examples of SIP header tables in the "Provisioning SIP Header Tables" section.
Note
The second column of Table 4 lists SIP headers that support customized treatment by default. If you want to customize treatment for more SIP headers, contact Cisco Technical Assistance Center (TAC) personnel. For more information about contacting the Cisco TAC, see the "Obtaining Documentation and Submitting a Service Request" section.
Implementing Inbound SIP Header Tables
Table 5 describes the properties of inbound SIP header tables.
Table 6 shows an example of an inbound SIP header table.
For example, row four of the table removes the Subject header from all SIP requests. The following example demonstrates how this entry alters a SIP request.
Before:
INVITE sip:bob@cisco.com SIP/2.0Via: SIP/2.0/UDP site3.example.com;branch=z9hG4bK77ef4c2312983.1Via: SIP/2.0/UDP pc33.example.com;branch=z9hG4bKnashds8;received=192.0.2.1Max-Forwards: 69To: Bob <sip:bob@cisco.com>From: Alice <sip:alice@example.com>;tag=1928301774Subject: InviteCall-ID: a84b4c76e66710CSeq: 314159 INVITEContact: <sip:alice@pc33.example.com>Content-Type: application/sdpContent-Length: 142After:
INVITE sip:bob@cisco.com SIP/2.0CC-Diversion:alice@192.0.2.1Via: SIP/2.0/UDP site3.example.com;branch=z9hG4bK77ef4c2312983.1Via: SIP/2.0/UDP pc33.example.com;branch=z9hG4bKnashds8;received=192.0.2.1Max-Forwards: 69To: Bob <sip:bob@cisco.com>From: Alice <sip:alice@example.com>;tag=1928301774Call-ID: a84b4c76e66710CSeq: 314159 INVITEContact: <sip:alice@pc33.example.com>Content-Type: application/sdpContent-Length: 142Implementing Outbound SIP Header Tables
Table 7 describes the properties of outbound SIP header tables.
Table 8 shows an example of an outbound SIP header table.
For example, row four of the table removes the Subject header from all SIP requests. The following example demonstrates how this entry alters a SIP message.
Before:
SIP/2.0 200 OKVia: SIP/2.0/UDP site3.example.com;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2Via: SIP/2.0/UDP pc33.example.com;branch=z9hG4bKnashds8;received=192.0.2.1To: Bob <sip:bob@cisco.com>;tag=a6c85cfFrom: Alice <sip:alice@example.com>;tag=1928301774Subject: InviteCall-ID: a84b4c76e66710CSeq: 314159 INVITEContact: <sip:bob@192.0.2.4>Content-Type: application/sdpContent-Length: 131After:
SIP/2.0 200 OKVia: SIP/2.0/UDP site3.example.com;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2Via: SIP/2.0/UDP pc33.example.com;branch=z9hG4bKnashds8;received=192.0.2.1To: Bob <sip:bob@cisco.com>;tag=a6c85cfFrom: Alice <sip:alice@example.com>;tag=1928301774Call-ID: a84b4c76e66710CSeq: 314159 INVITEContact: <sip:bob@192.0.2.4>Content-Type: application/sdpContent-Length: 131Applying Multiple SIP Headers
If the Cisco PGW 2200 Softswitch applies multiple profiles to a SIP message and both profiles have SIP header tables defined, the Cisco PGW 2200 Softswitch uses both SIP header tables to process the SIP message.
Provisioning Tasks
Further information about provisioning is available in the Cisco PGW 2200 Softswitch Release 9.8 Provisioning Guide in the following sections:
•
Planning for Provisioning
http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/provisioning/guide/R9PlnPrv.html
•
MML Basics
http://www.cisco.com/en/US/docs/voice_ip_comm/pgw/9/provisioning/guide/R9MMLCfg.html
The following tasks describe how to provision the SIP Profile feature.
Provisioning SIP and EISUP Profiles
Use the commands presented in the following sections to provision SIP and EISUP profiles.
Adding a SIP or EISUP Profile
The following examples demonstrate how to add a new SIP or EISUP profile:
mml> prov-add:profile:name="sp1", type="SIPPROFILE", custgrpid="1111", mgcdomain="10.0.6.55", trustlevel="1", topologyhidingenabled="1"mml> prov-add:profile:name="spf3", type="EISUPPROFILE", populatesdpinfoincdr="1"Cloning a SIP or EISUP Profile
The base parameter allows you to create a new profile based on an existing profile. To use this parameter, create a new profile and set the base parameter to an existing profile name. The new profile has the properties of the original profile, but you can override the settings of the original profile properties by manually specifying new settings in the command. Both profiles must be of the same type.
mml> prov-add:profile:name="spf2",type="SIPPROFILE",base="spf1",responseattempts="2"Retrieving a SIP or EISUP Profile
Use the prov-rtrv:profile command to retrieve SIP and EISUP profile properties. This command has the following parameters:
•
prop—Displays the provisioning property settings for the profile
•
comp—Displays the components associated with the profile
•
all—Displays the profile name, type, and property names, and values for all existing profiles
mml> prov-rtrv:profile:"prop", name="spf1"mml> prov-rtrv:profile:"comp", name="spf2"mml> prov-rtrv:profile:"all"Modifying a SIP or EISUP Profile
Use the prov-ed:profile command to modify a SIP or EISUP profile:
mml> prov-ed:profile:name="spf1", noninvitereqattempts="2"Adding a Common Profile, a Grprofile, or an ISUP Timer Profile Reference to a SIP Profile
You can add a common profile or grprofile reference to a SIP or EISUP profile using the commonprofile and grprofile parameters. You can also add an ISUP timer profile reference to a SIP profile using the isuptmrprofile parameter.
mml> prov-ed:profile:name="spf1",commonprofile="cpf1"mml> prov-ed:profile:name="spf1",grprofile="gpf1"mml> prov-ed:profile:name="spf1",isuptmrprofile="isuptmrpf1"
Note
You must create common profiles or grprofiles before referencing them in a SIP or EISUP profile. You must create ISUP timer profiles before referencing them in a SIP profile.
Note
For instructions on how to create a grprofile or an ISUP timer profile, see the Cisco PGW 2200 Softswitch
Release 9.8 Provisioning Guide.
Removing a Property from a SIP or EISUP Profile
Use the following command to remove a property from a SIP or EISUP profile:
mml> prov-dlt:profile:name="spf1","noninvitereqattempts"
CautionBe sure to specify a property value when deleting a property from a SIP or EISUP profile. If you do not, the command deletes the entire profile.
Deleting a SIP or EISUP Profile
Use the prov-dlt command to delete a SIP or EISUP profile:
mml> prov-dlt:profile:name="spf1"
Note
You cannot delete a SIP or EISUP profile that is referenced by another profile.
Provisioning Common Profiles
Common profiles allow you to apply SIP or EISUP profiles to profile types that use other protocols, such as SS7. Use the following commands to provision common profiles.
Adding a Common Profile
Use the prov-add:profile command to add a common profile:
mml> prov-add:profile:name="cpf1",type="COMMONPROFILE",glare="0"Cloning a Common Profile
The base parameter allows you to create a new profile based on an existing profile. To use this parameter, create a new profile and set the base parameter to an existing profile name. The new profile has the properties of the original profile, but you can override the settings of the original profile properties by manually specifying them in the command. Both profiles must be of the same type.
mml> prov-add:profile:name="cpf2", type="COMMONPROFILE", base="cpf1", responseattempts="2"Retrieving a Common Profile
Use the prov-rtrv:profile command to retrieve common profile properties. This command has the following parameters:
•
prop—Displays the provisioning property settings for the profile
•
comp—Displays the components associated with the profile
•
all—Displays the profile name, type, and property names, and values for all existing profiles
mml> prov-rtrv:profile:"prop", name="cpf1"mml> prov-rtrv:profile:"comp", name="gpf2"mml> prov-rtrv:profile:"all"
Modifying a Common Profile
Use the prov-ed:profile command to modify a common profile:
mml> prov-ed:profile:name="cpf1", noninvitereqattempts="2"Removing a Property from a Common Profile
Use the following command to remove a property from a common profile:
mml> prov-dlt:profile:name="cpf1"," noninvitereqattempts"
CautionBe sure to specify a property value when deleting a property from a group or common profile. If you do not, the command deletes the entire profile.
Deleting a Common Profile
Use the prov-dlt command to delete a common profile:
mml> prov-dlt:profile:name="cpf1"Provisioning Domain Profiles
The commands to provision domain profiles are similar to the commands for provisioning SIP and EISUP profiles, with the exception that SIP and EISUP provisioning properties are not available. Use the commands in the following sections to provision domain profiles.
Adding a Domain Profile
The following example demonstrates how to add a new domain profile:
mml> prov-add:profile:name="dpf1", type="DOMAINPROFILE", topologyhidingenabled="2", trustlevel="1"Cloning a Domain Profile
The base parameter allows you to create a new profile based on an existing profile. To use this parameter, create a new profile and set the base parameter to an existing profile name. The new profile has the properties of the original profile, but you can override the settings of the original profile properties by manually specifying them in the command. Both profiles must be of the same type.
mml> prov-add:profile:name="dpf2", type="DOMAINPROFILE", base="dpf1",trustlevel="1"Retrieving a Domain Profile
Use the prov-rtrv:profile command to retrieve domain profile properties. This command has the following parameters:
•
prop—Displays the provisioning property settings for the profile
•
comp—Displays the components associated with the profile
•
all—Displays the profile name, type, and property names, and values for all existing profiles
mml> prov-rtrv:profile:"prop", name="dpf1"mml> prov-rtrv:profile:"comp", name="dpf2"mml> prov-rtrv:profile:"all"Modifying a Domain Profile
Use the prov-ed:profile command to modify a domain profile:
mml> prov-ed:profile:name="dpf1", topologyhidingenabled="1"Adding a Common Profile or Grprofile Reference to a Domain Profile
You can add a common or grprofile reference within a domain profile using the commonprofile and grprofile parameters.
mml> prov-ed:profile:name="dpf1",commonprofile="cpf1"mml> prov-ed:profile:name="dpf1",grprofile="gpf1"
Note
You must create Common Profiles or grprofiles before referencing them in a domain profile.
Note
For instructions on how to create a grprofile, see the Cisco PGW 2200 Softswitch
Release 9.8 Provisioning Guide.
Removing a Property from a Domain Profile
Use the prov-dlt:profile command to remove a property from a domain profile:
mml> prov-dlt:profile:name="dpf1", "topologyhidingenabled"
CautionBe sure to specify a property value when deleting a property from a SIP or EISUP profile. If you do not, the command deletes the entire profile.
Deleting a Domain Profile
Use the prov-dlt command to delete a domain profile:
mml> prov-dlt:profile:name="dpf1"
Note
You cannot delete a domain profile that is referenced by another profile.
Managing the Domain Table
The domain table allows you to define a set of domain names and associate them with a domain profile for both inbound and outbound traffic. Use the commands in the following sections to manage the domain table.
Adding a New Domain Name
Use the prov-add:domainprof command to add a new domain name to the domain table. A type (inbound or outbound) and profile are required.
mml> prov-add:domainprof:domain="cisco.com", type="OUTBOUND", profile="dpf1"Editing Domain Properties
Use the prov-ed:domainprof command to modify the properties of a domain name:
mml> prov-ed:domainprof:domain="cisco.com", type="INBOUND", profile="dpf1"Modifying the Domain Profile Assigned to a Domain
Use the prov-ed:domainprof command to change the domain profile assigned to a domain name:
mml> prov-ed:domainprof:domain="cisco.com", type="INBOUND", profile="dpf1"Retrieving Domain Names
Use the prov-rtrv:domainprof command to retrieve domain names from the domain table. To retrieve properties for an individual domain, specify the domain name and type (inbound or outbound).
mml> prov-rtrv:domainprof:domain="cisco.com", type="INBOUND"mml> prov-rtrv:domainprof:domain="cisco.com", type="OUTBOUND"To retrieve properties for all domain names in the domain table, enter the following command:
prov-rtrv:domainprof:"all"Deleting a Domain Name
Use the prov-dlt:domainprof command to delete a domain name from the domain table:
mml> prov-dlt:domainprof:domain="cisco.com", type="OUTBOUND"
Note
You cannot delete a domain name that is referenced by a domain profile.
Assigning Profiles to Trunk Groups
You can assign one profile to each trunk group in order to customize call behavior. Use the commands described in the following sections to assign profiles to trunk groups.
Tip
In many cases, inbound and outbound trunk groups can utilize the same profile.
Adding a Profile to a Trunk Group
The profiles created above are associated with trunk groups. The inbound and outbound trunk groups typically have the same profile. Use the prov-add:trnkgrpprof command to add a trunk group to a profile:
mml> prov-add:trnkgrpprof:name="1", profile="spf1"mml> prov-add:trnkgrpprof:name="2", profile="gpf1"Modifying the Profile Assigned to a Trunk Group
Use the prov-ed:trnkgrpprof command to modify the profile associated with a trunk group:
mml> prov-ed:trnkgrpprof:name="1", profile="spf2"Removing a Trunk Group from a Profile
Use the prov-dlt:trnkgrpprof command to remove a trunk group from a profile:
mml> prov-dlt:trnkgrpprof:name="1",profile="spf1"Provisioning SIP Header Tables
Use the commands described in the following sections to provision SIP header tables.
Adding an Inbound SIP Header Table Entry
Use the prov-add:insipheader command to add an inbound SIP header table entry:
mml> prov-add:insipheader:name="insipht1",header="p-asserted-identity", message="INVITE",cond=2,treat=1, cdw1="user=phone"
Note
To create a new SIP header table, use a new header table name when adding a table entry. The Cisco PGW 2200 Softswitch creates the new SIP header table automatically.
Adding an Outbound SIP Header Table Entry
Use the prov-add:outsipheader command to add an outbound SIP header table entry:
mml> prov-add:outsipheader:name="outsipht1",header="user-agent",message="INVITE",cond=0,treat=5 ,cdw1="pgw2200 Release 9.8",policy="ALL"Adding a SIP Header Table to a Profile
Use the prov-ed:profile command to add a SIP header table to a profile:
mml> prov-ed:profile:name="spf1", outsipheadertable="outsipht1"Modifying a SIP Header Table Entry
Use the prov-ed:insipheader command to modify a SIP header table entry:
mml> prov-ed:insipheader:name="insipht1",index=1, cdw1="user=phone"
Note
You must provide an index value to edit SIP header table entries.
Retrieving a SIP Header Table
Use the prov-rtrv:insipheader or prov-rtrv:outsipheader command to retrieve SIP header tables.
mml> prov-rtrv:insipheader:name="insip1"mml> prov-rtrv:insipheader:name="insip1", message="INVITE"mml> prov-rtrv:insipheader:name="insip1", header="user-agent"Use the following command to retrieve all SIP header tables:
mml> prov-rtrv:insipheader:"all"Retrieving a SIP Header Table Entry
To retrieve an individual entry in a SIP header table, use the prov-rtrv:insipheader or prov-rtrv:outsipheader command and specify an index, header, or message value.
mml> prov-rtrv:insipheader:name="insip1", index=1mml> prov-rtrv:outsipheader:name="outsip1", header="user-agent"mml> prov-rtrv:outsipheader:name="outsip1", message="INVITE"mml> prov-rtrv:insipheader:name="insip2",index=1, header="user-agent",message="INVITE"
Note
You can retrieve a SIP header table entry using an index, header, or message value.
Reordering a SIP Header Table
The following caveats apply when your reorder a SIP header table:
•
If you create a new SIP table header entry without specifying an index value, the Cisco PGW 2200 Softswitch assigns a value one higher than the largest existing index number. If you attempt to set a larger index value, the Cisco PGW 2200 Softswitch replaces the new value with the default next value.
•
If you set a SIP table header table entry to an existing index value, the new entry takes this value, and all affected entries are incremented by 1.
•
To move an entry backward in index order, use the prov-add and prov-dlt commands to remove the original entry and insert it earlier in the index order.
Deleting an Entry from a SIP Header Table
Use the prov-dlt:insipheader command to delete an entry from a SIP header table:
mml> prov-dlt:insipheader:name="insipht1",index=1, header="user-agent", message="INVITE"
Note
You must enter an index, header, and message value to delete a SIP header table entry.
Deleting a SIP Header Table
Use the prov-dlt:insipheader command to delete a SIP header table:
mml> prov-dlt:insipheader:name="insipht1"
Note
You cannot delete a SIP header table that is referenced in a profile.
Provisioning Examples
This section provides a provisioning example for this feature. Additional provisioning examples for the Cisco PGW 2200 Softswitch software can be found in the Cisco PGW 2200 Softswitch Release 9.8 Provisioning Guide.
______________________________________; Group Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="gp1",type="GRPROFILE",cgpninclude="1"________________________________________; Common Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="cp1",type="COMMONPROFILE",mgcdomain="10.0.6.55"________________________________________; ISUP Timer Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="isuptmrp1",type="ISUPTMRPROFILE",t6="120000",variant="etsi356",t2="180000",t9="60000",t33="12000",validation="OFF"________________________________________; SIP Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="sp1",type="SIPPROFILE",custgrpid="1111",mgcdomain="10.0.6.55", trustlevel="1",topologyhidingenabled="1"mml> prov-add:profile:name="sp2",type="SIPPROFILE",grprofile="gp1",commonprofile="cp1"mml> prov-ed:profile:name="sp2",isuptmrprofile="isuptmrp1"________________________________________; EISUP Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="ep1",type="EISUPPROFILE",custgrpid="1111"________________________________________; Domain Profile;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:profile:name="dp1",type="DOMAINPROFILE",trustlevel="1",topologyhidingenabled="1"________________________________________; Domain Profile Entries;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:domainprof:name="cisco.com",type="INBOUND",profile="dp1"________________________________________; SIP Header Table Entries;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-add:insipheader:name="insipht1",header="p-asserted-identity", message="INVITE",cond=2,treat=1, cdw1="user=phone"________________________________________; SIP Header Table References;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mml> prov-ed:profile:name="sp1", insipheadertable="insipht1"Software Changes for This Feature
The following sections contain software changes related to this feature:
MML Command Reference
This section documents new, modified, or deleted Man-Machine Language (MML) commands. All other MML commands are documented in the Cisco PGW 2200 Softswitch Release 9 MML Command Reference.
New MML Commands
This section contains the MML commands that are new for this feature.
PROV-ADD:INSIPHEADER (Release 9.8(1))
Purpose:
This MML command adds an inbound SIP header table.
Syntax:
prov-add:insipheader: name="Header Table Name", header="Header Name", message="Message Name", index="Index", cond="Condition", cdw1="Condition Word 1", cdw2="Condition Word 2", cdw3="Condition Word 3", cdw4="Condition Word 4", treat="treatment", tdw1="treatment word 1", tdw2="treatment word 2", tdw3="treatment word 3", tdw4="treatment word 4"Input Description:
•
name—The name of the SIP header table.
•
header—The name of a SIP header that the Cisco PGW 2200 Softswitch uses to modify traffic.
•
message name—The name of the SIP message that triggers a customized action. The value must be the name of a SIP request or response message.
•
index—Defines the order in which the Cisco PGW 2200 Softswitch applies SIP header table entries. If a SIP header matches more than one entry in the SIP Header Table, the Cisco PGW 2200 Softswitch applies the entry with the lowest index value.
•
cond—Defines how the Cisco PGW 2200 Softswitch uses the SIP header table entry to analyze traffic. This field requires one or more entries in the Condition DW fields.
•
cdw1-4—The tags the Cisco PGW 2200 Softswitch uses to analyze SIP traffic.
•
treat—The action that the Cisco PGW 2200 Softswitch takes when the SIP header is present.
•
tdw1-4—Data words that describe how the Cisco PGW 2200 Softswitch applies the treatment settings.
Note
For more information about applying inbound SIP headers, see "Implementing Inbound SIP Header Tables" section.
Output Description:
•
COMPLD—Provision succeeds.
•
DENY— Provision fails.
Example:
prov-add:insipheader:name=''insipht1'',message=''INVITE'',cond=2,treat=1, cdw1=''user=phone'',header=''User-Agent''MGC-01 - Media Gateway Controller 2008-03-04 10:47:38.222 ESTM COMPLD''insipheader'';Comments:
Performance impact category C applies to the commands used to create, delete, and edit inbound SIP header tables.
For more information about performance impact categories, see the Cisco PGW 2200 Softswitch Release 9 MML Command Reference.
PROV-ADD:OUTSIPHEADER (Release 9.8(1))
Purpose:
This MML command adds an outbound SIP header table.
Syntax:
prov-add:outsipheader: name="Header Table Name", header="Header Name", message="Message Name", policy="Policy", index="Index", cond="Condition",cdw1="Condition Word 1", cdw2="Condition Word 2", cdw3="Condition Word 3", cdw4="Condition Word 4", treat="treatment", tdw1="treatment word 1", tdw2="treatment word 2", tdw3="treatment word 3", tdw4="treatment word 4"Input Description:
•
name—The name of the SIP header table.
•
header—The name of a SIP header that the Cisco PGW 2200 Softswitch uses to modify traffic.
•
message name—The name of the SIP message that triggers a customized action. The value must be the name of a SIP request or response message.
•
policy—Defines the B2BUA mode applied to the call/trunk group.
•
index—Defines the order in which the Cisco PGW 2200 Softswitch applies SIP header table entries. If a SIP header matches more than one entry in the SIP Header table, the Cisco PGW 2200 Softswitch applies the entry with the lowest Index value.
•
cond—Defines how the Cisco PGW 2200 Softswitch uses the SIP header table entry to analyze traffic. This field requires one or more entries in the Condition DW fields.
•
cdw1-4—The tags the Cisco PGW 2200 Softswitch uses to analyze SIP traffic. You can define up to four tags for each row in the SIP header table. SIP table header treatments take effect only if a message matches all of the Condition DW fields.
•
treat—The action that the Cisco PGW 2200 Softswitch takes when the SIP header is present.
•
tdw1-4—Data words that describe how the Cisco PGW 2200 Softswitch applies the treatment settings. For values 2-3 in the Treatment field, Treatment DW1 defines the response code used to reject the request. For values 4-6 in the Treatment field, Treatment DW1-4 define the tag the Cisco PGW 2200 Softswitch applies. You can apply up to four tags for each row in the SIP header table.
Note
For more information about applying inbound SIP headers, see "Implementing Inbound SIP Header Tables" section.
Output Description:
•
COMPLD—Provision succeeds.
•
DENY— Provision fails.
Example:
prov-add:outsipheader:name=''outsipht1'',header=''Diversion'',message=''I NVITE'',cond=1,treat=1 ,cdw1=''xyf2'',policy=0,index=1MGC-01 - Media Gateway Controller 2008-03-04 10:51:22.260 ESTM COMPLD''outsipheader'';Comments:
Performance impact category C applies to the commands used to create, delete, and edit outbound SIP header tables.
For more information about performance impact categories, see the Cisco PGW 2200 Softswitch Release 9 MML Command Reference.
PROV-ADD:DOMAINPROF (Release 9.8(1))
Modified MML Commands
This section contains the MML commands that are modified for this feature.
PROV-ADD:PROFILE
(Release 9.8(1))
Billing Interface
This section identifies the call detail record (CDR) data added for this feature. For billing interface information for the rest of the Cisco PGW 2200 Softswitch software, see the Cisco PGW 2200 Softswitch Release 9 Billing Interface Guide.
New Call Data Records
This section describes the new Call Data Records (CDRs) introduced for this feature.
Modified Call Data Records
This section describes the Call Data Records (CDRs) modified by this feature.
Properties
The SIP Profiles feature replaces all existing SIP and EISUP trunk group properties with equivalent SIP and EISUP profile properties. For a full listing of all affected properties, see the Cisco PGW 2200 Softswitch Release 9.8 Provisioning Guide.
Table 16 and Table 17 describe the trunk group properties used for this feature.
Provisioning Worksheets
This section contains worksheets for the provisioning components required for this feature. For worksheets covering the rest of the provisioning components in the Cisco PGW 2200 Softswitch software, see the Cisco PGW 2200 Softswitch Release 9.8 Provisioning Guide.
Table 19 Common Profiles Worksheet Example
Profile Name Type Property Valueepf1
Common
Glare
0
gpf1
Group
cgpninclude
1
Table 20 Domain Profile Worksheet Example
Profile Name Domain Direction Property Valuedpf1
cisco.com
Inbound
populatesdpinfoincdr
1
dpf2
bt.com
Outbound
Table 21 Trunk Group Profile Assignments Worksheet Example
Trunk Group Number Profile Name1
spf1
2
gpf1
Table 22 SIP Header Tables Worksheet Example
Table Name Type Commentsinsipht1
Inbound
outsipht1
Outbound
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at:
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to the What's New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free service and Cisco currently supports RSS Version 2.0.
Glossary
CCDE, CCENT, CCSI, Cisco Eos, Cisco HealthPresence, Cisco IronPort, the Cisco logo, Cisco Nurse Connect, Cisco Pulse, Cisco SensorBase, Cisco StackPower, Cisco StadiumVision, Cisco TelePresence, Cisco Unified Computing System, Cisco WebEx, DCE, Flip Channels, Flip for Good, Flip Mino, Flipshare (Design), Flip Ultra, Flip Video, Flip Video (Design), Instant Broadband, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn, Cisco Capital, Cisco Capital (Design), Cisco:Financed (Stylized), Cisco Store, Flip Gift Card, and One Million Acts of Green are service marks; and Access Registrar, Aironet, AllTouch, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Lumin, Cisco Nexus, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, Continuum, EtherFast, EtherSwitch, Event Center, Explorer, Follow Me Browsing, GainMaker, iLYNX, IOS, iPhone, IronPort, the IronPort logo, Laser Link, LightStream, Linksys, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, PCNow, PIX, PowerKEY, PowerPanels, PowerTV, PowerTV (Design), PowerVu, Prisma, ProConnect, ROSA, SenderBase, SMARTnet, Spectrum Expert, StackWise, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.
All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0910R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
© 2008-2009 Cisco Systems, Inc. All rights reserved.



