Tuesday, 4 April 2017

Understanding Cisco Dial Peers

CME router can be connected to many numbers of analog and digital connections.But this router will not know how to use it unless you define or create dial-peers for those connections.

Dial peers are the entity that defines voice reachability information.Dial peers established logical connections, called call legs, to complete the end-to-end call.
Dial peers are generally classified into two categories.

POTS dial Peers: Provides connection or voice reachability information for traditional telephony networks like PSTN, PBX, analog telephones.It also includes devices connected to the FXO, FXS and  E&M.
POTS dial-peer includes devices those doesn't have an IP address like analog phones, Fax, PBX, PSTN.

VoIP dial Peers: Provides voice reachability information of VoIP networks. Points to the IP address or DNS name of the destination VoIP device that terminates the call.VoIP dial peers map a dial string to a remote network device.The remote devices are CUCM, CME, SIP proxy, H.323 gateway, any voice gateway.

Configuring POTS dial Peers
Figure 1.1 blow shows network for dial-peers configuration. The configuration of POTS dial-peers begins with the CME A.Two analogs phones are connected to the CME A route via FXS ports.

Figure 1.1: Dial-peer Configuration Network

There are main two parameters in POST dial-peer which are needed to be specified.They are the telephone number and voice port. 
Example 1-1: POTS dial-peer Configuration
As shown in the example 1-1 to create dial-peer you need to enter into global configuration mode of the router CME A. In global configuration mode use command dial-peer voice tag pots.Where the tag is any number you want to give. It is not necessary to have the same tag number and destination-pattern number.
The destination-pattern is used for matching of called telephone number. In this example, we have number "1101".
The port command specifies the respective voice port. In this example, port 0/0/0 defines that the port is on module 0(1st), voice interface card (VIC) slot 0 (2nd), and voice port 0.

In POTS dial-peer voice port automatically strips explicitly defined dial numbers.To prevent this in the router no digit-strip command is used.The forward-digits all command is used on a router to forward all defined digits.

Example 1-2: POTS dial-peer Configuration

Configuring VoIP dial peer

As shown in figure CME A and ROUTER B are connected via IP WAN.TO make calls for this type of connectivity you must use VoIP dial-peers because the call is crossing an IP connectivity of the network.
Example 1-3: VoIP dial-peer Configuration

As shown in example 1-3 above, in VoIP dial-peer, compared to POTS session-target is used instead of tag.This command is often used with the syntax session-target ipv4:ip_address, where IP is of remote entities like CUCM, CME, Gateways etc.
The codec value is set by using codec command.The default codec value for VoIP dial-peer  is G.729.
Mismatch in codec value between two routers results in call failure and returns fast busy signal.

VoIP dial-peer does not strip explicitly defines numbers.So no need to define no digit-strip or  forward-digits all command.

In the next blog you find more about dial peer wild card and dial patterns.




2 comments:

Cisco IP Phone Boot Process

Once IP phone is connected to a network, it goes to following standard steps to get registered to Call Manager and to get a  directory num...