ip-inbound-manipulation
This command configures the Inbound Manipulations table, which lets you define IP-to-IP Inbound Manipulation rules. An Inbound Manipulation rule defines a manipulation sequence for the source or destination SIP URI user part of inbound SIP dialog requests.
Syntax
(config-voip)# sbc manipulation ip-inbound-manipulation <Index> (ip-inbound-manipulation-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
dst-host |
Defines the destination SIP URI host name - full name, typically located in the Request URI and To headers. |
dst-user-name-pattern |
Defines the prefix of the destination SIP URI user name, typically located in the Request-URI and To headers. |
is-additional-manipulation {disable|enable} |
Determines whether additional SIP URI user part manipulation is done for the table entry rule listed directly above it. |
leave-from-right |
Defines the number of characters that you want retained from the right of the user name. |
manipulated-uri {destination|source} |
Determines whether the source or destination SIP URI user part is manipulated. |
manipulation-name |
Defines an arbitrary name to easily identify the manipulation rule. |
prefix-to-add |
Defines the number or string that you want added to the front of the user name. |
purpose {normal|routing-input-only|shared-line} |
Defines the purpose of the manipulation: |
remove-from-left |
Defines the number of digits to remove from the left of the user name prefix. |
remove-from-right |
Defines the number of digits to remove from the right of the user name prefix. |
request-type {all|invite|invite-and-register|invite-and-subscribe|register|subscribe} |
Defines the SIP request type to which the manipulation rule is applied. |
routing-policy-name |
Assigns a Routing Policy to the rule. |
src-host |
Defines the source SIP URI host name - full name (usually in the From header). |
src-ip-group-name |
Defines the IP Group from where the incoming INVITE is received. |
src-user-name-pattern |
Defines the prefix of the source SIP URI user name (usually in the From header). |
suffix-to-add |
Defines the number or string that you want added to the end of the user name. |
Command Mode
Privileged User
Example
This example configures an Inbound Manipulation rule that adds prefix "40" to the URI if the destination hostname is "abc.com":
(config-voip)# sbc manipulation ip-inbound-manipulation 0 (ip-inbound-manipulation-0)# manipulation-name ITSP-MAN (ip-inbound-manipulation-0)# dst-host abc.com (ip-inbound-manipulation-0)# prefix-to-add 40 (ip-inbound-manipulation-0)# manipulated-uri destination (ip-inbound-manipulation-0)# activate