ip2ip-routing
This command configures the IP-to-IP Routing table, which lets you define SBC IP-to-IP routing rules.
Syntax
(config-voip)# sbc routing ip2ip-routing <Index> (ip2ip-routing-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
alt-route-options {alt-route-consider-inputs|alt-route-ignore-inputs|group-member-consider-inputs|group-member-ignore-inputs|route-row} |
Determines whether this routing rule is the main routing rule or an alternative routing rule (to the rule defined directly above it in the table). |
call-setup-rules-set-id |
Assigns a Call Setup Rule Set ID to the routing rule. |
cost-group |
Assigns a Cost Group to the routing rule for determining the cost of the call. |
dest-sip-interface-name |
Defines the destination SIP Interface to where the call is sent. |
dest-tags |
Assigns a prefix tag to denote destination URI user names corresponding to the tag configured in the associated Dial Plan. |
dst-address |
Defines the destination address to where the call is sent. |
dst-host |
Defines the host part of the incoming SIP dialog’s destination URI (usually the Request-URI). |
dst-ip-group-name |
Defines the IP Group to where you want to route the call. |
dst-port |
Defines the destination port to where the call is sent. |
dst-transport-type {tcp|tls|udp} |
Defines the transport layer type for sending the call. |
dst-type {all-users|destination-tag|dial-plan|dst-address|enum|gateway|hunt-group|internal|ip-group|ip-group-set|ldap|request-uri|routing-server} |
Determines the destination type to which the outgoing SIP dialog is sent. |
dst-user-name-pattern |
Defines the prefix of the incoming SIP dialog's destination URI (usually the Request URI) user part. You can use special notations for denoting the prefix. T |
group-policy {forking|sequential} |
Defines whether the routing rule includes call forking. |
internal-action |
Defines a SIP response code (e.g., 200 OK) or a redirection response (with an optional Contact field indicating to where the sender must re-send the message) that the device sends to the sender of the incoming SIP dialog (instead of sending the call to another destination). The parameter is applicable only when the 'Destination Type' parameter in this table is configured to Internal. |
ipgroupset-name |
Assigns an IP Group Set to the routing rule. |
message-condition-name |
Assigns a SIP Message Condition rule to the IP-to-IP Routing rule. |
modified-dest-user-name |
Defines the user part of the Request-URI in the outgoing SIP dialog message. |
re-route-ip-group-name |
Defines the IP Group that initiated (sent) the SIP redirect response (e.g., 3xx) or REFER message. |
request-type {all|invite|invite-and-register|invite-and-subscribe|options|register|subscribe} |
Defines the SIP dialog request type (SIP Method) of the incoming SIP dialog. |
route-name |
Defines a descriptive name, which is used when associating the row in other tables. |
routing-tag-name |
Defines a routing tag name. |
sbc-routing-policy-name |
Assigns a Routing Policy to the rule. |
src-host |
Defines the host part of the incoming SIP dialog's source URI (usually the From URI). |
src-ip-group-name |
Defines the IP Group from where the IP call is received (i.e., the IP Group that sent the SIP dialog). |
src-tags |
Assigns a tag to denote source URI user names corresponding to the tag configured in the associated Dial Plan. |
src-user-name-pattern |
Defines the prefix of the user part of the incoming SIP dialog's source URI (usually the From URI). |
trigger {3xx|3xx-or-refer|any|broken-connection|fax-rerouting|initial-only|refer} |
Defines the reason (i.e., trigger) for re-routing (i.e., alternative routing) the SIP request. |
Command Mode
Privileged User
Example
This example configures a routing rule for calls from IP Group "IPBX" to IP Group "ITSP":
(config-voip)# sbc routing ip2ip-routing 0 (ip2ip-routing-0)# route-name IPPBX-TO-SIPTRUNK (ip2ip-routing-0)# src-ip-group-name IPBX (ip2ip-routing-0)# dst-type ip-group (ip2ip-routing-0)# dst-ip-group-name ITSP (ip2ip-routing-0)# activate