Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Dialing numbers from incoming call lists

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

Dialing numbers from incoming call lists

The rule should be as I wrote before

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

24 REPLIES

Dialing numbers from incoming call lists

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.

New Member

Dialing numbers from incoming call lists

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

Gold

Re: Dialing numbers from incoming call lists

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

New Member

Re: Dialing numbers from incoming call lists

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

Dialing numbers from incoming call lists

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

Hall of Fame Super Silver

Dialing numbers from incoming call lists

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

New Member

Dialing numbers from incoming call lists

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 ?

Hall of Fame Super Silver

Dialing numbers from incoming call lists

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

New Member

Dialing numbers from incoming call lists

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 ?    

Hall of Fame Super Silver

Dialing numbers from incoming call lists

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

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

Chris

New Member

Dialing numbers from incoming call lists

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.

Dialing numbers from incoming call lists

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.

New Member

Dialing numbers from incoming call lists

how do i go abt changing the translation rules ??

Dialing numbers from incoming call lists

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

New Member

Dialing numbers from incoming call lists

I still can't get the extra 9 to be added in front when i dial numbers from the received calls lists after modifying the translation rules as above.

Re: Dialing numbers from incoming call lists

Hi could you attach a debug isdn q931 for an incoming call?

Sent from Cisco Technical Support iPhone App

New Member

Re: Dialing numbers from incoming call lists

i dont get anything from the debugging

2911-2#debug isdn q931

debug isdn q931 is              ON.

2911-2#show debugging

The following ISDN debugs are enabled on all DSLs:

debug isdn error is             ON.
debug isdn q931 is              ON.   (filter is OFF)
voip translation-rule
  voip translation debugging is on (Filter is OFF)

Re: Dialing numbers from incoming call lists

First start with turning off all debugs

"undebug all"

then turn on the "debug isdn q931"

after that you will either find the output in the logs or you will have to enter the command "term mon"

To turn everything off agen you enter

term no mon

undebug all

New Member

Re: Dialing numbers from incoming call lists

VR2911-2#

Jan 25 10:08:31.563: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x26FA

        Sending Complete

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA9838C

                Exclusive, Channel 12

        Calling Party Number i = 0x4183, '92969890'

                Plan:ISDN, Type:Subscriber(local)

        Called Party Number i = 0xC1, '64166232'

                Plan:ISDN, Type:Subscriber(local)

Jan 25 10:08:31.567: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xA6FA callID = 0x0FB8 switch = primary-net5 interface = User

Jan 25 10:08:31.571: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xA6FA

        Channel ID i = 0xA9838C

                Exclusive, Channel 12

Jan 25 10:08:31.583: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8  callref = 0xA6FA

Jan 25 10:08:44.471: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8  callref = 0xA6FA

Jan 25 10:08:44.511: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x26FA

Jan 25 10:08:44.511: %ISDN-6-CONNECT: Interface Serial0/0/0:11 is now connected to 92969890 N/A

Jan 25 10:09:00.215: %ISDN-6-DISCONNECT: Interface Serial0/0/0:11  disconnected from 92969890 , call lasted 15 seconds

Jan 25 10:09:00.215: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xA6FA

        Cause i = 0x8090 - Normal call clearing

Jan 25 10:09:00.263: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x26FA

Jan 25 10:09:00.263: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xA6FA

Re: Dialing numbers from incoming call lists

Ok, the provider seems to be sending the calls as Subscriber and not national.

Would you be able to test an international call to your gateway also and check if the international calls are coming in as international or something else.

Try to change

voice translation-rule 3

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

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

to

voice translation-rule 3

rule 1 /\(^.*\)/ /9\1/ type subscriber sunscriber

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

New Member

Re: Dialing numbers from incoming call lists

finally managed to get it working after changing to type subscriber subscriber.


for IDD calls this is the debug

i can see calling party is International and called party is (local) subscriber.


Jan 26 06:19:40.042: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x2728
        Sending Complete
        Bearer Capability i = 0x9090A3
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98382
                Exclusive, Channel 2
        Progress Ind i = 0x8283 - Origination address is non-ISDN
        Display i = 'OVERSEAS'
        Calling Party Number i = 0x1183, '85225793785'
                Plan:ISDN, Type:International
        Called Party Number i = 0xC1, '64166293'
                Plan:ISDN, Type:Subscriber(local)
Jan 26 06:19:40.042: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xA728 callID = 0x0FE6 switch = primary-net5 interface = User
Jan 26 06:19:40.050: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xA728
        Channel ID i = 0xA98382
                Exclusive, Channel 2

Re: Dialing numbers from incoming call lists

Then I guess everything is working for you now or was there anything else that wasn't working?

New Member

Re: Dialing numbers from incoming call lists

not sure whether the syntax is correct for rule 2.

is it

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

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

Dialing numbers from incoming call lists

The rule should be as I wrote before

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

858
Views
0
Helpful
24
Replies
CreatePlease to create content