The Domain-based routing feature provides support for matching an outbound dial peer based on the domain name or IP address provided in the request URI of the incoming SIP message or an inbound dial peer.
Domain-based routing enables for calls to be routed on the outbound dialpeer based on the domain name or IP address provided in the request Uniform Resource Identifier (URI) of incoming Session IP message.
Restrictions for Domain-Based Routing Support on the Cisco UBE
Domain-based routing support is available only for SIP-SIP call flows.
Information About Domain-Based Routing Support on the Cisco UBE
When a dial peer has an application configured as a session application, then only the user parameter of the request URI is used and is sent from the inbound SIP SPI to the application. The session application performs a match on an outbound dial peer based on the user parameter of the request URI sent from the inbound dial peer. In the figure below, 567 is the user portion of the request-URI that is passed from the inbound dial peer to the application and the matching outbound dial-peer found is 1000.
With the introduction of the domain-based routing feature, all parameters including the domain name of the request URI will be sent to the application and the outbound dial peer can be matched with any parameter. In Figure 1, when the domain name example.com is used to match an outbound dial peer the resulting dial peer is 2000. The
call route url command is used for configuring domain-based routing.
How to Configure Domain-Based Routing Support on the Cisco UBE
debugvoipdialpeerinout
The
debug ccsip all and
debug voip dialpeer inout commands can be entered in any order and any of the commands can be used for debugging depending on the requirement.
Example:
Displays information about the voice dial peers
Router# debug voip dialpeer inout
voip dialpeer inout debugging is on
The following event shows the calling and called numbers:
Example:
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Calling Number=4085550111, Called Number=3600, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
The following event shows the incoming dial peer:
Example:
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Calling Number=4085550111, Called Number=3600, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
*May 1 19:32:11.731: //-1/6372E2598012/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
*May 1 19:32:11.735: //-1/6372E2598012/DPM/dpMatchPeersCore:
Calling Number=, Called Number=3600, Peer Info Type=DIALPEER_INFO_SPEECH
*May 1 19:32:11.735: //-1/6372E2598012/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=3600
*May 1 19:32:11.735: //-1/6372E2598012/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
*May 1 19:32:11.735: //-1/6372E2598012/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
The following event shows the matched dial peers in the order of priority:
Example:
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=3600
2: Dial-peer Tag=36
Configuration Examples for Domain-Based Routing Support on the Cisco UBE
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.
Feature Information for Domain-Based Routing Support on the Cisco UBE
GUID-1EA5A0E5-BB6C-456E-A82D-41DA769EB88C2 lists the release history for this feature.
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to
http://www.cisco.com/go/cfn . An account on Cisco.com is not required.
Note
GUID-1EA5A0E5-BB6C-456E-A82D-41DA769EB88C2 lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Table 1
Feature Information for Domain-Based Routing Support on the Cisco UBE
Feature Name
Releases
Feature Information
Domain Based Routing Support on the Cisco UBE
15.2(1)T
The domain-based routing enables for calls to be routed on the outbound dialpeer based on the domain name or IP address provided in the request URI (Uniform Resource Identifier) of incoming SIP message.
The following commands were introduced or modified:
call-route,
voice-classsipcall-route.