Thursday, June 11, 2009

Cisco CME,CUE & Dest Pattern problem
Asked by pault5261223 in Voice Over IP, Network Routers

Source:
http://www.experts-exchange.com/Networking/Telecommunications/IP_Telephony/VoIP/Q_23098149.html

Tags: cisco, cme, dial, cue
Hi All,

In brief I've installed a Cisco CME solution that requires Direct Inward Dialing. The problem I have relates to using DID. When a phone for a given ext is not answered and the call is forwarded to voice mail the digits sent to CUE are not correct.

CME ver 4.2 on 2801 platform.
The config is as follows... a inbound call is taken by CME and "dest-pattern", command is used to translate the last four digits inbound from 14xx to 4xx and this works perfect. However when the call in not answered and sent to the mailbox for example ext 410 he digits in the SIP session are 1410 and therefore the CME system does not recognise the 14xx number stating there is no mailbox for the ext.
I can post the config if required but I'm sure this must be a common issue!!
Paul


This is a common issue.

I am assuming you are using the "Dailplan-pattern" command, under Telephony-Service? This command is quite problematic and offers a simple approach to modifying (translating) PSTN numbers to internal. The best way to manage this is manually, using "Translation Patterns".

Below is a translation pattern which should solve your issue. You will need to remove the "Dailplan-pattern" command, and instead use the following proceedure:

# voice translation-rule 1
# rule 1 /^14/ /4/
(This command will identify any digits starting with 14 and remove the 1 leaving 4XX. We must now apply this translation to the incoming calls.)

# voice translation-profile Strip1
# translate called 1
(This command uses "voice translation-rule 1" and applies it only to the number being called. IE 14XX)

(Lastly you must apply the translation to the incoming dial-peer. Below is an example of this.)
# dial-peer voice 111 pots
# translation-profile incoming Strip1
# destination-pattern .T
# direct-inward-dial
# port 0/1/0:15
# forward-digits all

So to summarize, what this will do is strip the leading digit (in this case 1) from the number being called (14XX) at the dial-peer level (as it reaches the CCME subsystem). That means by the time the call reaches CCME, the leading digit is completely gone from the call information. The dialplan-pattern command does not operate in this way, so implementing this will solve your problem.

Good luck. If you get stuck, just paste the config and I will assist further.