- Using Cisco Unified SIP Proxy Software
- Cisco Unified SIP Proxy Module EXEC Commands
- Cisco Unified SIP Proxy EXEC Commands
- Cisco Unified SIP Proxy Configuration Commands
- Cisco Unified SIP Proxy SIP Commands
- Cisco Unified SIP Proxy SIP Server Commands
- Cisco Unified SIP Proxy Radius Server Commands
- Cisco Unified SIP Proxy Trigger Commands
- Cisco Unified SIP Proxy Route Commands
- Cisco Unified SIP Proxy Policy Commands
- Cisco Unified SIP Proxy Accounting Commands
- Cisco Unified SIP Proxy Security Commands
- Module Commands for Cisco Unified SIP Proxy
- policy time
- sequence (policy time)
- end-time
- month
- start-time
- day-of-month
- day-of-week
- time (policy time sequence)
- policy lookup
- sequence field
- rule
- ignore-plus
- ignore-tel-seperators
- modify-key
- sequence header uri-component
- policy normalization
- header-param add
- header-param remove
- header-param update
- header add
- header remove
- header update
- sip-to-tel
- sip-to-tel request-uri
- tel-to-sip
- tel-to-sip request-uri
- uri-component update header
- uri-component update request-uri
- uri-param add
- uri-param add request-uri
- uri-param remove
- uri-param remove request-uri
- uri-param update
- uri-param update request-uri
Cisco Unified SIP Proxy Policy Commands
–
sequence header uri-component
–
uri-component update request-uri
policy time
To create a time-of-day policy and to enter time-policy configuration mode, use the policy time command in Cisco Unified SIP Proxy configuration mode. To delete a time policy, use the no form of this command.
no policy time time_policy_name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy configuration (cusp-config)
Command History
|
|
|
|---|---|
Usage Guidelines
The start- and end-time values are entered in RFC 2445 iCA1 COS DATE-TIME format.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example creates a time policy and enters time-policy configuration mode:
The following example deletes a time policy:
Related Commands
sequence (policy time)
To configure a step for a time-of-day policy with starting and ending times, and to enter sequence configuration submode, use the sequence command in policy time configuration mode. To remove the step from the time policy, use the no form of this command.
Syntax Description
Command Default
Command Modes
Policy time configuration (cusp-config-time)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example creates a time policy step and enters time-policy step configuration mode, where the start-time and end-time of the policy step is configured:
The following example removes a time policy step:
Related CommandsTBD
end-time
To configure the ending-time for a time policy step, use the end-time command in Cisco Unified SIP Proxy policy time sequence configuration mode. To remove the ending-time from the time-policy step, use the no form of this command.
Syntax Description
Specifies the end-time in the format “HH:MM:SS <month> <day> <year>. |
Command Default
Command Modes
Cisco Unified SIP Proxy policy time sequence configuration (cusp-config-time-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
The time policy step uses the local time zone. If the end-time is missing, then the policy step has no constraint on the end-time. If the end-time is not greater than the current time, an error is thrown.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example creates a time policy step which applies until 8/1/2008 at 12:00:
The following example removes the ending time from a time policy step:
Related CommandsTBD
month
To configure the months in the year that a time policy step applies to, use the month command in policy time sequence configuration mode. To remove the month value assigned to the time policy step, use the no form of this command.
month begin month [- end-month ] [, ] (continue) [end-month]
no month begin month [- end-month ] [, ] (continue) [end-month]
Syntax Description
Command Default
Command Modes
Policy time sequence configuration (cusp-config-time-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
If the last-month value is not entered, then the time policy only applies for the month specified with the first-month value.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the time policy step to be effective only in January.
The following example configures the time policy step to be effective beginning in January and ending in June:
The following example configures the time policy step to be effective for January, February, May, October, November, and December:
The following example removes the month constraint from the time policy:
Related Commands
start-time
To configure the starting time for a time policy step, use the start-time command in Cisco Unified SIP Proxy policy time sequence configuration mode. To remove the starting time from the time-policy step, use the no form of this command.
Syntax Description
Specifies the start-time in the format “HH:MM:SS <month> <day> <year>. “ |
Command Default
Command Modes
Cisco Unified SIP Proxy policy time sequence configuration (cusp-config-time-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
The time policy step uses the local time zone. If the start-time is missing, then the policy step has no constraint on the start-time.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example creates a time policy step which applies from 7/1/2008 at 14:15:20:
The following example removes the start time from the time policy step:
Related CommandsTBD
day-of-month
To configure the days in the month that a time policy step applies to, use the day-of-month command in policy time configuration mode. To disable the days-in-month value assigned to the time policy step, use the no form of this command.
day-of-month begin day [- end-day ] [, ] (continue) [end-day]
no day-of-month begin day [- end-day ] [, ] (continue) [end-day]
Syntax Description
Command Default
Command Modes
Policy time configuration (cusp-config-time)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a time policy step in which the policy applies to the first day of the month:
The following example configures a time policy step in which the policy applies on the 1st, 10th, 11th, 12th, 13th, 14th, 15th and 28th days of the month:
The following example removes the day-of-month value from the time policy step:
Related Commands
day-of-week
To configure the days in the week that a time policy step applies to, use the day-of-week command in policy time configuration mode. To disable the day-of-week value assigned to the time policy step, use the no form of this command.
day-of-week begin day [- end-day ] [, ] (continue) [end-day]
no day-of-week begin day [- end-day ] [, ] (continue) [end-day]
Syntax Description
Command Default
Command Modes
Policy time configuration (cusp-config-time)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a time policy step in which the policy applies only to Monday in a given week:
The following example configures a time policy step in which the policy applies for Monday, Wednesday, Thursday, and Friday in a given week:
The following example removes the day-of-week value from the time policy:
Related Commands
time (policy time sequence)
To configure the times in the day that a time policy step applies to, use the time command in policy time sequence configuration mode. To disable the times-in-day value assigned to the time policy step, use the no form of this command.
time begin time [- end-time ] [, ] (continue) [end-time]
no time begin time [- end-time ] [, ] (continue) [end-time]
Syntax Description
Command Default
Command Modes
Policy time sequence configuration (cusp-config-time-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
The time values are entered in Greenwich Mean Time (GMT) format.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the times-in-day in a time policy to take effect from 9:00 a.m. to 5:00 p.m.
The following example removes the times-in-day value from a time policy, making the time policy effective for the whole day:
Related Commands
policy lookup
To configure a lookup policy for routing and enter policy lookup configuration mode, use the policy lookup command in Cisco Unified SIP Proxy configuration mode. To remove the field sequence characteristics from the lookup policy, use the no form of this command.
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy configuration (cusp-config)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the field sequence characteristics for a lookup policy and enters lookup configuration mode:
The following example removes a lookup policy:
Related Commands
sequence field
To configure the field sequence characteristics for a lookup policy and enter sequence-field configuration mode, use the sequence field command in Cisco Unified SIP Proxy policy lookup configuration mode. To remove the field sequence characteristics from the lookup policy, use the no form of this command.
sequence sequence-number table-name field { in-network | local-ip-address | local-ip-port | remote-ip-address | remote-ip-port } | header { p-asserted identity | from | to | diversion| remote-party-id } | request uri [uri component { param | user | phone | host| host-port| uri } ]
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup configuration (cusp-config-lookup)
Command History
|
|
|
|---|---|
Usage Guidelines
Use this command to configure a lookup policy with a route table and its lookup key using non-SIP header related information. This command launches a sequence-field configuration submode which configures key modifiers and rules for the lookup policy. If the commands in the submode are not configured, the proxy is configured with a default rule and no key modifiers.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the field sequence characteristics for a lookup policy and enters sequence-field configuration mode:
The following example removes the field sequence characteristics from a lookup policy:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
Configures a rule that determines the routing algorithm for the lookup policy. |
rule
To configure a rule that determines the routing algorithm for the lookup policy, use the rule command in Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration mode. To remove the rule from the lookup policy, use the no form of this command.
rule { exact | prefix | subdomain | subnet | fixed length } [ case-insensitive ]
no rule { exact | prefix | subdomain | subnet | fixed length } [ case-insensitive ]
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration (cusp-config-lookup-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
The following provides additional information about how the different algorithm rules work in a lookup policy:
This lookup type is performed using a string matching rule. The lookup field must match the key in a route of the specified route table.
This lookup type performs a longest prefix match against the key in each route of a specified route table. This implies the following, for example:
If the part of the request being examined has a value of “5550100”, and a route in the specified route table has a key of “555”, there is a match. If there is another route in the same table with a key of “55501”, this also matches, and is preferred, as it matches more digits of the key. Matching can be performed on both numbers and arbitrary strings.
This lookup matches the host portion of the Request-URI (a fully-qualified domain name or IP address) against the key of each route in a specified route table.
Note
Domain name matching is case-sensitive and the most specific match prevails, and IP address matching must be exact. If a request contains a nonSIP request URI, this lookup fails. To prevent this from happening, use the case-insensitive keyword option.
This lookup matches an IP address within a specified Request-URI field against the key in each route of a specified route table.
This lookup type attempts to find an exact match over the first n characters of the key in each route of a specified route table. For example:
Suppose the phone number within a Request-URI is being examined and has a value of 97395550100. If the number of characters that must match is configured to 3, a match would only take place if a route in the specified routing table has a key of 973. Matching can be performed on both numbers and arbitrary strings.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the lookup policy rule to search for the longest prefix match:
The following example configures the lookup policy rule to search for the longest subdomain of the keys, and to make the search case-insensitive:
The following example removes the lookup policy rule:
Related Commands
ignore-plus
To specify that a leading plus sign in the value of the attribute for a lookup policy is ignored, use the ignore-plus command in Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration mode. To not ignore the plus sign, use the no form of this command.
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration (cusp-config-lookup-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
Use this command to specify whether or not to ignore a leading plus sign in the value of an attribute for a lookup policy.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example uses this command:
Related Commands
ignore-tel-seperators
To specify that the system should ignore all RFC 2806 seperator characters in the value of the attribute for a lookup policy, use the ignore-tel-seperators command in Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration mode. To not ignore the tel seperator, use the no form of this command.
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration (cusp-config-lookup-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
Use this command to specify that the system should ignore all RFC 2806 seperator characters in the value of the attribute for a lookup policy.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example uses this command:
Related Commands
modify-key
To perform a match and replace on a key-modifier for a lookup policy, use the modify-key command in Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration mode. To remove the key-modifer from the lookup policy, use the no form of this command.
modify-key <regex-match> <regex-replace> <force>
Syntax Description
Specifies the key modifier to replace the regular expression. |
|
Specifies that the key modifier is an exact match for replacement. |
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup sequence field and sequence header configuration (cusp-config-lookup-seq)
Command History
|
|
|
|---|---|
Usage Guidelines
Use this command to perform a match and replace on a key-modifier for a lookup policy.
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example replaces the keyword “yes” with the keyword “no”:
Related Commands
sequence header uri-component
To configure the URI component sequence header characteristics for a lookup policy and enter sequence header configuration mode, use the sequence header uri-component command in Cisco Unified SIP Proxy policy lookup configuration mode. To remove the URI component sequence header characteristics from the lookup policy, use the no form of this command.
sequence sequence-number table-name header { diversion | from | p-asserted-identity | remote-party-id | request-uri | to } uri-component {host | host-port| param name | phone | uri | user}
no sequence sequence-number table-name header { diversion | from | p-asserted-identity | remote-party-id | request-uri | to } uri-component {host | host-port| param name | phone | uri | user}
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy lookup configuration (cusp-config-lookup)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures the URI component header sequence characteristics for a lookup policy and enters sequence-header configuration mode:
The following example removes the header sequence characteristics from a lookup policy:
Related Commands
policy normalization
To create a normalization policy and enter Cisco Unified SIP Proxy policy normalization configuration mode, use the policy normalization command in Cisco Unified SIP Proxy configuration mode. To delete a normalization policy, use the no form of this command.
policy normalization policy_name
no policy normalization policy_name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy configuration (cusp-config)
Command History
|
|
|
|---|---|
Usage Guidelines
The order of the normalization steps among different tokens is the following:
The order of the normalization steps with the same token is based on the operation and the order is the following:
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example creates a normalization policy called p1 and enters policy-normalization configuration mode:
The following example deletes a normalization policy:
Related Commands
header-param add
To configure a normalization policy step that adds a header parameter, use the header-param-add command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
header-param add header-name { first | last | all } header-param-name value
no header-param add header-name { first | last | all } header-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization step that adds a header parameter to the first occurrence of the Call-Info header where the header parameter “m” has a value of “XX”:
The following example removes a normalization step that adds a header parameter:
Related Commands
header-param remove
To configure a normalization policy step that removes a header parameter, use the header-param-remove command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
header-param remove header-name { first | last | all } header-param-name
no header-param remove header-name { first | last | all } header-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization step that removes all occurrences of the “m” header parameter in the Call-Info header:
The following example removes a normalization step that removes a header parameter:
Related Commands
header-param update
To configure a normalization policy step that updates a header parameter, use the header-param update command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
header-param update header-name { first | last | all } header-param-name { all | match-string} replace-string
no header-param update header-name { first | last | all } header-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization step that updates a header parameter to all occurrences of the Call-Info header where the header parameter “m” has a value of “XX”:
The following example removes a normalization step that updates a header parameter to all occurrences of the Call-Info header:
Related Commands
header add
To configure a policy normalization step that adds a header, use the header add command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
header add header-name sequence header-sequence-number { first | last | all } header-value
no header add header-name sequence header-sequence-number { first | last | all }
Syntax Description
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Command Default
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step that adds the P-Asserted-Identity header:
The following example removes the normalization step of adding the P-Asserted-Identity header:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
header remove
To configure a normalization step that removes a header, use the header remove command in Cisco Unified SIP Proxy policy normalization configuration mode. To remove the step from the normalization policy, use the no form of this command.
header remove header-name sequence header-sequence-number { first | last | all}
no header remove header-name sequence header-sequence-number { first | last | all }
Syntax Description
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Command Default
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step that removes the first P-Asserted-Identity header:
The following example configures a normalization policy step that removes all Request-URI headers:
The following example removes the normalization step that removes all P-Asserted-Identity headers:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
header update
To configure a normalization policy step that updates a header, use the header update command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
header update header-name { first | last | all } { all | match-string} replace-string
no header update header-name { first | last | all } { all | match-string} replace-string
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization step that updates the first occurrence of the Call-Info header:
The following example removes a normalization step that updates all Call-Info headers:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
sip-to-tel
To configure a normalization policy step that converts a destination SIP URI to a TEL URI, use the sip-to-tel command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
sip-to-tel header-name { first | last | all }
no sip-to-tel header-name { first | last | all }
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step for converting a SIP URI sip:5085550111@example.com to a TEL URI tel:5085550111:
The following example removes a normalization policy step for converting a SIP URI to a TEL URI:
Related CommandsTTBD
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
Configures a normalization policy step to convert a destination TEL URI to a SIP URI. |
sip-to-tel request-uri
To configure a normalization policy step that converts a destination SIP URI to a TEL URI of Request-URI, use the sip-to-tel request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
Syntax Description
Command Default
Command Modes
Policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step for converting a SIP URI sip:5085551111@example.com to a TEL URI tel:5085551111:
The following example removes a normalization policy step for converting a SIP URI to a TEL URI:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
Configures a normalization policy step to convert a destination SIP URI to a TEL URI. |
tel-to-sip
To configure a normalization policy step that converts a destination TEL URI to a SIP URI with the given host-port value, use the tel-to-sip command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
tel-to-sip header-name { first | last | all } host-port
no tel-to-sip header-name { first | last | all } host-port
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step for converting a TEL URI tel:5085550111 to a SIP URI sip:5085550111@example.com:
The following example removes a normalization policy step for converting a TEL URI to a SIP URI:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
Configures a normalization policy step to convert a destination SIP URI to a TEL URI. |
tel-to-sip request-uri
To configure a normalization policy step that converts a destination TEL URI to a SIP URI of Request-URI, use the sip-to-tel request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
tel-to-sip request-uri host-port
Syntax Description
Specifies the host and port of the URI. The format of this field is host:port; port is optional. |
Command Default
Command Modes
Policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step for converting a TEL URI tel:5085551111 to a SIP URI sip:5085551111@example.com:
The following example removes a normalization policy step for converting a TEL URI to a SIP URI:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
Configures a normalization policy step to convert a destination TEL URI to a SIP URI. |
uri-component update header
To configure a normalization policy step that updates a URI component field within a header of the source message, use the uri-component update header command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-component update header { first | last | all } { user | host | host-port | phone | uri } { all | match-string} replace-string
no uri-component update header { first | last | all } { user | host | host-port | phone | uri } { all | match-string} replace-string
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a policy normalization step that updates all occurrences of the ”host-port” URI component in the From header:
The following example removes a normalization step that updates all occurrences of the ”domain” URI component in the From header:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
uri-component update request-uri
To configure a normalization policy step that updates a URI component field within a request URI, use the uri-component update request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-component update request-uri { user | host | host-port | phone | uri } { all | match-string} replace-string
no uri-component update request-uri { user | host | host-port | phone | uri } { all | match-string} replace-string
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a policy normalization step that replaces 9911 in the user portion of the Request-URI with 911:
The following example configures a policy normalization step that replaces the host-port of the Request-URI with example.com:
The following example removes a normalization step that replaces a component of the Request-URI:
Related Commands
|
|
|
|---|---|
Enables configuration changes for selected Cisco Unified SIP Proxy commands to take effect. |
|
uri-param add
To configure a normalization policy step that adds a URI parameter field within a header of the source message, use the uri-param add command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param add header-name { first | last | all } uri-param-name value
no uri-param add header-name { first | last | all } uri-param-name value
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to add a URI parameter field within a source message header:
The following example removes a normalization policy step that adds a URI parameter field within a source message header:
Related Commands
uri-param add request-uri
To configure a normalization policy step that adds a URI parameter field within a header of the source message, use the uri-param add request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param add request-uri uri-param-name uri-param-value
no uri-param add request-uri uri-param-name uri-param-value
Syntax Description
Specifies the URI parameter name to which the normalization rule applies. |
|
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to add a URI parameter field within a source message header:
The following example removes a normalization policy step that updates a URI parameter field within a source message header:
Related Commands
uri-param remove
To configure a normalization policy step that removes a URI parameter field within a header of the source message, use the uri-param remove command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param remove header-name { first | last | all } uri-param-name value
no uri-param remove header-name { first | last | all } uri-param-name value
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to remove a URI parameter field within a source message header:
The following example removes a normalization policy step to remove a URI parameter field within a source message header:
Related Commands
uri-param remove request-uri
To configure a normalization policy step that removes a URI parameter field within a header of the source message, use the uri-param remove request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param remove request-uri uri-param-name
no uri-param remove request-uri uri-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to remove a URI parameter field within a source message header:
The following example removes a normalization policy step to remove a URI parameter field within a source message header:
Related Commands
uri-param update
To configure a normalization policy step that updates a URI parameter field within a header of the source message, use the uri-param update command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param update header-name { first | last | all } uri-param-name { all | match-string} replace-string
no uri-param update header-name { first | last | all } uri-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to update a URI parameter field within a source message header:
The following example removes a normalization step to remove a URI parameter field within a source message header:
Related Commands
uri-param update request-uri
To configure a normalization policy step that updates a URI parameter field within a header of the source message, use the uri-param update request-uri command in Cisco Unified SIP Proxy policy normalization configuration mode. To delete the step from the normalization policy, use the no form of this command.
uri-param update request-uri uri-param-name { match-string | all } replace-string
no uri-param update request-uri uri-param-name
Syntax Description
Command Default
Command Modes
Cisco Unified SIP Proxy policy normalization configuration (cusp-config-norm)
Command History
|
|
|
|---|---|
Usage Guidelines
Note
This command requires that you use the commit command for the configuration changes to take effect.
Examples
The following example configures a normalization policy step to update a URI parameter field within a source message header:
The following example configures a normalization policy step to update a URI parameter field within a source message header:
The following example removes a normalization step to remove a URI parameter field within a source message header:
Feedback