cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1684
Views
0
Helpful
24
Replies

Dialing numbers from incoming call lists

yeow_km
Level 1
Level 1

I have callerID activated from my telco, this enable incoming calls from the PSTN to show the incoming phone numbers.

Currently, for all outgoing calls, we have to dial 9, follow by the phone number that we wish to call.

9XXXX XXXX.

can i configure the CUCM or voice gateway such that my users can automatically dial the phone numbers that they see on the incoming calls lists.

can it be done that the extra 9 for external calls be added to the incoming call phone numbers, so that my users do not have to dial the whole range of phone numbers ??

1 Accepted Solution

Accepted Solutions

The rule should be as I wrote before

rule 2 /\(^.*\)/ /91516\1/ type international international

View solution in original post

24 Replies 24

Hi

Yes in the gateway you can do this with a translation rule.

voice translation-rule 1

rule 1 /\(^.*\)/ /90\1/ type national national

rule 2 /\(^.*\)/ /900\1/ type international international

voice translation-profile incoming

translate calling 1

add this translation profile to your incoming dial-peer

This works if your incoming calls are tagged as national/international and your international prefix is 00

Sometimes you need to tweak these rules depending on how the incoming calls are tagged and if you need to ad an 0 to the area codes or not.

i added the translation rule in the voice gateway but i cant dial

i have 2 existing rules

voice translation-rule 1

rule 1 /^8\(2..\)$/ /64166\1/

!

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

!

voice translation-rule 3

rule 1 /\(^.*\)/ /9\1/ type national national

R2911-2#test voice translation-rule 3 92960000 type national

Matched with rule 1

Original number: 92960000       Translated number: 992960000

Original number type: national  Translated number type: national

Original number plan: none      Translated number plan: none

barry
Level 7
Level 7

Hi

Yes, this can be done. Exactly how depends on what products / gateway type you have.

Example of configuring on an H.323 IOS gateway connected using ISDN primary rate.

voice translation-rule 2

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

!

voice translation-profile inbound

translate calling 2

!

!

voice-port 0/0/0:15

translation-profile incoming inbound

!

HTH. Barry

yeow_km
Level 1
Level 1

i have a cisco 2911 voice gateway router connected to the telco ISDN line.

for local calls, we will just dial 9 while for IDD calls we will dial 91516 follow by the country code, area code and phone numberd

It depends a little on how the numbers are sent to you when you receive a call but if the leadeing 0 on the area code is not received on incoming calls you should be able to update the numbers with the following rule.

voice translation-rule 1

rule 1 /\(^.*\)/ /90\1/ type national national

rule 2 /\(^.*\)/ /91516\1/ type international international

Since you have CUCM I recommend that you do it on CUCM, there are several ways, my preferred way is to prefix it right on the GW page configuration (bottom of configuration) and then use calling transformation patterns (assuming CUCM 7.1+), to strip the prefix, this way the caller ID on the phone display will not show the prefix (typically desired by users not to see it), yet all call logs show it.

HTH,

Chris

i have these existing translation rules added to my PSTN-IN and PSTN-OUT

voice translation-rule 1

rule 1 /^8\(2..\)$/ /64166\1/

!

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

!

voice translation-profile PSTN-IN

translate called 2

!

voice translation-profile PSTN-Out

translate calling 1

where do i add the 3rd translation rules ?

You nest them, I dont see your full config so not sure exactly what you are doing where, but you would do somethign like:

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

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

!

Chris

i have added both translation rule in rule 2, but it dont seems to work.

what else do i need to do ?

voice translation-rule 1

rule 1 /^8\(2..\)$/ /64166\1/

!

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

rule 2 /\(^.*\)/ /9\1/ type national national

rule 3 /\(^.*\)/ /91516\1/ type international international

!

!

voice translation-profile PSTN-IN

translate called 2

!

voice translation-profile PSTN-Out

translate calling 1

voice-port 0/0/0:15

translation-profile incoming PSTN-IN

translation-profile outgoing PSTN-Out

cptone SG

bearer-cap Speech

dial-peer voice 2 pots

preference 1

destination-pattern 9T

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

port 0/0/0:15

voice translation-rule 1
rule 1 /^8\(2..\)$/ /64166\1/
!

voice-port 0/0/0:15
translation-profile incoming PSTN-IN
translation-profile outgoing PSTN-Out
cptone SG
bearer-cap Speech

dial-peer voice 2 pots
preference 1
destination-pattern 9T
progress_ind alert enable 8
progress_ind progress enable 8
progress_ind connect enable 8
port 0/0/0:15

btw, how do attach my whole config here ?    

Is the telco provider tagging the call with isdn plan and type?

Can you post debug voice translation for one of these calls?

Chris

not sure whether my telco tagging the call.

I get a error message from my telco when i dial my mobile number from the received calls list as it is not tagging another 9 in front of the number.

noting comes out when i do a debug.

Do I need to configure anything on my CUCM.

My CUCM version is 8.5.1.

It looks a little bit wrong in your translation rules

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

rule 2 /\(^.*\)/ /9\1/ type national national

rule 3 /\(^.*\)/ /91516\1/ type international international

!

!

voice translation-profile PSTN-IN

translate called 2

!

voice translation-profile PSTN-Out

translate calling 1

voice-port 0/0/0:15

translation-profile incoming PSTN-IN

translation-profile outgoing PSTN-Out

On yourincoming translation profile you try to match on called. to add the 9 and 91516 you need to match the calling number.

how do i go abt changing the translation rules ??

Something like this.

voice translation-rule 2

rule 1 /64166\(...\)$/ /8\1/

voice translation-rule 3

rule 1 /\(^.*\)/ /9\1/ type national national

rule 2 /\(^.*\)/ /91516\1/ type international international

voice translation-profile PSTN-IN

translate called 2

translate calling 3