01-30-2011 07:05 AM - edited 03-19-2019 02:19 AM
Hi all.
Recently our local PSTN has notified that we need to prepend every number with '3'. Like for example, if previously my home number was 2569898, it will now become 32569898. Most of the people dont know it and still dial numbers without adding '3'. In CME, through translation rule can i achieve the following ?
1) If user has dialed 32569898, then dont do anything and pass the number as it is
2) if user had dialed just 2569898, then add 3 in front of it and pass the number
01-30-2011 04:50 PM
Configure a translation rule in which you define that if the number does not start with 3 then you will add it
You can refer to this document:
^ | Match the expression at the start of a line. |
[^list] | Do not match a single character specified in the list. |
HTH
java
if this helps, please rate
www.cisco.com/go/pdihelpdesk
01-31-2011 09:29 AM
Dear Sir
Following is my scenario and its very very simple
(ext 2201)IPC-1------------R1------------------R2-------------IPC-2(ext 2101)
I am showing only R1 configuration here
R1
telephony-service
secondary dial-tone 9
dial-peer voice 21 voip
destination-pattern 921..
session target ipv4:172.16.1.2
!(172.16.1.2 is R2's IP)
I am not showing the translation rule because the moment i enter digit '2', it starts giving me busy tone, in debug it shows that no dial-peer matched. What i have seen is that, translation rules are applied under dial-peer, so first this dial peer should be matched, i am totally lost !!
My objective is simple, if user doesnt add 9 in dialed string, CME should add it and then process the call, like in above case, if user enters just 2101, CME should add 9 and then match dial peer 21.
Or what i am looking for is wrong ?
pls guide me
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide