How to Perform Call Manipulations in CME ??

Prefix-Digits

--> The Prefix Digits command allows the voice gateway to add a prefix at the beginning of a dialed number.

--> For example, if someone dials 505555120, we can ensure that the router actually calls the 91505555120(Prefix Digit:91).

--> Any digits that can be entered from a standard phone (0 through 9, *, and #) can be prepended to the calling or called party numbers.

--> Digit prefixing is available for either the calling or called party number and can be configured at the route pattern, route list, or translation pattern configuration levels.

Configuration:

CME (config) # dial-peer voice 10 POTS

CME (config-dial-peer) # destination-pattern 50T

CME (config-dial-peer) #port 1/0/0

CME (config-dial-peer) #prefix 91

Digit Stripping

--> Voice Gateway transmits all digits in the called number by default if it is VOIP dial peer, however, POTS dial peers remove digits that explicitly match their destination pattern before transmitting.

--> Digit stripping is the default behavior of POTS dial peers.

-->  For Example, given a destination pattern of 1111... the called number transmitted to the PSTN would contain just the last three digits. The first four digits, 1111, would be removed before transmitting.

--> Digit Stripping is useful in some cases, such as when a user adds some number such as 5 to reach national call and you don't want to send this number to PSTN.

--> Simply configure the destination pattern of a POTS dial peer as 5T, the 5 number is matched and it is removed before sending the numbers to PSTN.

--> In Some cases, you want to disable this default behavior of POTS dial peer. we can do this by using the following command,

Configuration:

CME (config) # dial-peer voice 10 POTS

CME (config-dial-peer) # destination-pattern 50T

CME (config-dial-peer) #port 1/0/0

CME (config-dial-peer) # no digit-strip





Forward-Digits

--> The purpose of this command is to send only the last X digits dialed.

--> For example, if someone dials 505555120, we can ensure that the router actually calls the 5555120(Forward Digits:7).

--> The Forward-Digit command is only available for POTS Dial-Peers.

Configuration:

CME (config) # dial-peer voice 10 POTS

CME (config-dial-peer) # destination-pattern 50T

CME (config-dial-peer) #port 1/0/0

CME (config-dial-peer) # no digit-strip

CME (config-dial-peer) # forward-digits 7

Number Expansion:

--> The purpose of Num-Exp is to replace a number called to another number by the Voice Gateway.

--> For example, if someone calls the number 100, Voice Gateway can make the call to 101 by using Num-EXP.

--> This configuration is done in global configuration mode on the Voice Gateway.

CME (config) # num-exp 100 101

Translation-Profile

--> Translation Profile is a more powerful way of doing digit manipulation by using Voice Gateway.

--> Translation profiles provides flexible rules for digit manipulation, If you find yourself saying, “I want to change this dialed number to that dialed number, but only when it goes out this port,

--> Implementation of translation profiles requires a three-step process:

Step 1. Define the rules that dictate how the router will transform the number.

Step 2. Associate the rules into a translation profile.

Step 3. Assign the translation profile to a dial peer.

--> In a way, this is similar to the access-list configuration on a router.

Order of Digit Manipulations on Voice Gateway

1) Number-Exp

2) Digit-Strip

3) Translation Profiles

4) Prefix-Digits

5) Forward-Digits

Ref: Cisco.com

Md.Kareemoddin

CCIE # 54759

0 Comments