cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
713
Views
8
Helpful
4
Replies

Adding 9 to incoming calls (Call Manager Express)

blackswans
Level 1
Level 1

How can I add 9 to incoming calls (calling party) with the translation pattern?

Thanks

4 Replies 4

bigcappa1
Level 4
Level 4

Hi, Used this on CCME in the past

Two Options but both do the job

The second option is dependant on the country dial pattern.

This is based on the uk where local calls had 6 digits (some areas have 7) and then 10, 11 and 12 digits for national and international etc

Option 1 is more straightforward

voice translation-rule 90

rule 1 /^0./ /90/

rule 2 /^1/ /901/

rule 3 /^2/ /902/

rule 4 /^3/ /903/

rule 5 /^4/ /904/

rule 6 /^5/ /905/

rule 7 /^6/ /906/

rule 8 /^7/ /907/

rule 9 /^8/ /908/

rule 10 /^9/ /909/

rule 11 /^00/ /900/

voice translation-profile Prefix_9

translate calling 90

voice-port 0/0/0:15

translation-profile incoming Prefix_9

Option 2 is a little more complex

voice translation-rule 2

rule 1 /\(^......$\)/ /9\1/

rule 2 /\(^..........$\)/ /9\1/

rule 3 /\(^...........$\)/ /9\1/

rule 4 /\(^............$\)/ /9\1/

voice translation-profile 1

translate calling 2

voice-port 0/0/0:15

translation-profile incoming 1

You could also apply to the incoming dial-peers

Hope this helps

Paul

ok thats fine, another question if we use CM and MGCP how can we do this? With the help of translation patterns or something else?

You can do it on CallManager in the service Parameters, under the Clusterwide Paramters option either on the gateway or on the phone

This is where I normally do it with MGCP

Thanks

Paul

Hi

You set it on Service parametre for CallMnaager service under MGCP section (MGCP Prefix) .

you need to know when you debug the incoming call is an :

1. Subscdriber,

2. Unknow,

3. International

Or you can append 9 suing translation pattern but make sure that only the E1/T1 endpoint hit this translatation pattern by using Partition and CSS

Regards,

Husien