cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
424
Views
0
Helpful
2
Replies

Conditional translation

Jonn cos
Level 4
Level 4

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

2 Replies 2

Jaime Valencia
Cisco Employee
Cisco Employee

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:

Number Translation using Voice Translation Profiles

http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml

^

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

HTH

java

if this helps, please rate

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