Dial-rule question

Answered Question
Mar 6th, 2008

Again the CME 4.1 system. We use some Nokia phones in conjunction with this system. Our nokia users in the netherlands program their phone numbers as following:




What is the best way to create an outgoing dial rule for this so that when somebody puts this in the outcome would be:




Thanks in advance.

I have this problem too.
0 votes
Correct Answer by okuehn about 8 years 8 months ago

sorry, i missed you are using CME

configure the following pots dial peer:

destination-pattern 003..........

prefix 0

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
okuehn Thu, 03/06/2008 - 12:34

Hi Maarten,

configure the following rule:


discard digits pre dot

prefix 0

the outcome for your example 0031612345678 would be 0612345678

so long, oliver

mamkreutz01 Thu, 03/06/2008 - 12:47

Hi there,

Thanks for you quick reply. I guess i will use a dial-peer voice pots for it. I can define the destination-pattern but i do not have the command discard digits. I can only use digit-strip but there i cannot put the pre dot command. I can use the prefix command. Any idea how to do this ?

Correct Answer
okuehn Thu, 03/06/2008 - 13:25

sorry, i missed you are using CME

configure the following pots dial peer:

destination-pattern 003..........

prefix 0

mamkreutz01 Thu, 03/06/2008 - 22:14

Thanks for the fast reply. How does the system now with this destination-pattern that 003 has to be stripped and that an zero has to be added ? Prefix 0 means the system puts an 0 extra to it ?

okuehn Thu, 03/06/2008 - 23:45

that's how dial-peer commands are working.

destination-pattern 003..........

deletes all digits explicitly matches, and the prefix command add 0

for further readings see http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/srnd/design/guide/gatewy.html

"Dial peer commands are useful if only small changes to the beginning or end of the dialed number are necessary, such as prefixing an area code, prefixing a CO designator (NXX) to an extension number, or forwarding only the last four digits of a longer number. The wildcard matching within the destination-pattern command automatically deletes the numbers explicitly matched."

hope this helps, if so please rate.


mamkreutz01 Fri, 03/07/2008 - 01:37

Hi there oliver,

There is no need for an forward-digits command in this dial-peer ?

okuehn Fri, 03/07/2008 - 10:45

no, forward-digits is an optional command.

you might use it only if you want to strip digits based on fix length (beginning from right)


This Discussion