Dial Peer Matching

CUBE allows VoIP-to-VoIP connection by routing calls from one VoIP dial peer to another. As VoIP dial peers can be handled by either SIP or H.323, CUBE can be used to interconnect VoIP networks of different signaling protocols. VoIP internetworking is achieved by connecting an inbound dial peer with an outbound dial peer.

Dial Peers in CUBE

A dial peer is a static routing table mapping phone numbers to interfaces or IP addresses

A call leg is a logical connection between two routers or between a router and a VoIP endpoint. A dial peer is associated or matched to each call leg according to attributes that define a packet switched network, like destination address.

Voice-network dial peers are matched to call legs based on configured parameters, after which an outbound dial peer is provisioned to an external component using the component's IP address. For more information, refer to Dial Peer Configuration Guide.

In CUBE, dial peers can also be classified as LAN dial peers and WAN dial peers based on the connecting entity that CUBE sends or receives calls from.

Figure 1. LAN and WAN Dial Peers



A LAN dial peer is used to send or receive calls between CUBE and the Private Branch Exchange (PBX), a system of telephone extensions within an enterprise. Given below are examples of inbound and outbound LAN dial peers.

Figure 2. LAN Dial Peers



A WAN dial peer is used to send or receive calls between CUBE and the SIP trunk provider. Given below are examples of inbound and outbound WAN dial peers.

Figure 3. WAN DIal Peers



Configuring Inbound and Outbound Dial Peers Matching for CUBE

The following commands can be used for inbound and outbound dial peer matching in CUBE

Table 1 Incoming Dial Peer Matching
Command in Dial-Peer Configuration Description Call Setup Element
incoming called-number DNIS_string

This command uses the destination number that was called to match the incoming call leg to an inbound dial peer. This number is called the dialed number identification service (DNIS) number.

DNIS number
answer-address ANI_string

This command uses the calling number to match the incoming call leg to an inbound dial peer. This number is called the originating calling number or automatic number identification (ANI) string.

ANI string
destination-pattern ANI_string

This command uses the inbound call leg to the inbound dial peer.

ANI string for inbound

{incoming called | incoming calling} e164-pattern-map pattern-map-group-id

This command uses a group of incoming called (DNIS) or incoming calling (ANI) number patterns to match the inbound call leg to an inbound dial peer.

The command calls a globally defined voice class identifier where the E.164 patter groups are configured.

E.164 Patterns
incoming uri {from | request | to | via} URI_class_identifier

This command uses the directory URI (Uniform Resource Identifier) number to match the outgoing SIP call leg to an outgoing dial peer. This directory URI is part of the SIP address of a device.

The command calls a globally defined voice class identifier where the directory URI is configured. It requires the configuration of session protocol sipv2

Directory URI

incoming uri {called | callling} URI_class_identifier

This command uses the directory URI (Uniform Resource Identifier) number to match the outgoing H.323 call leg to an outgoing dial peer.

The command calls a globally defined voice class identifier where the directory URI is configured.

Directory URI

Table 2 Outgoing Dial Peer Matching
Dial Peer Command Description Call Setup Element
destination-pattern DNIS_string

This command uses DNIS string to match the outbound call leg to the outbound dial peer.

DNIS string for outbound

ANI string for inbound

destination URI_class_identifier

This command uses the directory URI (Uniform Resource Identifier) number to match the outgoing call leg to an outgoing dial peer. This directory URI is part of the SIP address of a device.

The command actually refers to a globally defined voice class identifier where the directory URI is configured.

Directory URI
destination e164-pattern-map pattern-map-group-id

This command uses a group of destination number patterns to match the outbound call leg to an outbound dial peer.

The command calls a globally defined voice class identifier where the E.164 pattern groups are configured.

E.164 patterns