ip2tel-routing
This command configures the IP-to-Tel Routing table, which lets you define IP-to-Tel routing rules.
Syntax
(config-voip)# gateway routing ip2tel-routing <Index> (ip2tel-routing-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
call-setup-rules-set-id |
Assigns a Call Setup Rule Set ID to the routing rule. |
dst-host-pattern |
Defines the prefix or suffix of the called (destined) telephone number. |
dst-phone-pattern |
Defines the Request-URI host name prefix of the incoming INVITE message. |
dst-type {trunk|trunk-group} |
Defines the type of Tel destination. |
ip-profile-name |
Assigns an IP Profile to the call. |
route-name |
Defines a descriptive name, which is used when associating the row in other tables. |
src-host-pattern |
Defines the prefix of the URI host name in the From header of the incoming INVITE message. |
src-ip-address |
Defines the source IP address of the incoming IP call. |
src-ip-group-name |
Assigns an IP Group from where the SIP message (INVITE) is received. |
dst-phone-pattern |
Defines the prefix or suffix of the calling (source) telephone number. |
src-sip-interface-name |
Defines the SIP Interface on which the incoming IP call is received. |
trunk-group-id |
Defines the Trunk Group ID to where the incoming SIP call is sent. |
trunk-id |
Defines the Trunk to where the incoming SIP call is sent. |
Command Mode
Privileged User
Example
This example configures a routing rule that routes calls from IP Group "ITSP" to Trunk Group 1:
(config-voip)# gateway routing ip2tel-routing 0 (ip2tel-routing-0)# name PSTN-to-ITSP (ip2tel-routing-0)# src-ip-group-name ITSP (ip2tel-routing-0)# trunk-group-id 1 (ip2tel-routing-0)# activate