• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 913
  • Last Modified:

Ten Digit voice translation-rule issue

Good Day All,
I hope there is a simple answer to this.

We are trying to setup a voice translation-rule to translate a 10 digit DID to a four digit extension.

I setup the rule and tested it as follows:

voice translation-rule 15
 rule 1 /7062985016/ /1074/

Lagrange3845#test voice translation-rule 15 7062985016
Matched with rule 1
Original number: 7062985016     Translated number: 1074
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

However, when I place an incoming call to 7062985016, the call fails. If you will notice, even though the test above showed the rule was translating the incoming DID to extension 1074, below it is showing a destination for the call to be "dest=5016"

Dec 16 17:30:39.297: //-1/90046FCE8BDF/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=7065809439
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=3
   dest=5016
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   cisco-rdntype=-1
   cisco-rdnplan=-1
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Not sure why this is happening...

Any help would be greatly appreciated.

0
Brockstedt
Asked:
Brockstedt
  • 4
  • 3
1 Solution
 
voipmanCommented:
Do you have the translation rule applied to the inbound voip peer?  Do you have CCM or CME or what system are you using?
0
 
voipmanCommented:
post up your dial peer configs also please
0
 
BrockstedtAuthor Commented:
Good Day,

We are using CME.

The following are the configurations related to the incoming translation:


voice translation-rule 15
 rule 1 /7062985016/ /1074/



voice translation-profile incomingfor_1074
 translate called 15
 
 
dial-peer voice 1074 pots
 translation-profile incoming incomingfor_1074
 incoming called-number 7062985016
 direct-inward-dial
 port 0/0/0:23
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
voipmanCommented:
Looks like you have it configured right can you post up all your dial peer configs something has to be misconfigured can you do a debug dial peer then call that number and see what peer its trying to hit.
0
 
BrockstedtAuthor Commented:
Here are the dial peers:
dial-peer cor custom
 name internal
 name local
 name domestic
 name international
 name 900
 name 976
 name saralocal
 name saradomestic
!
!
dial-peer cor list call-internal
 member internal
!
dial-peer cor list call-local
 member local
!
dial-peer cor list call-domestic
 member domestic
!
dial-peer cor list call-international
 member international
!
dial-peer cor list call-900
 member 900
!
dial-peer cor list call-976
 member 976
!
dial-peer cor list user-internal
 member internal
!
dial-peer cor list user-local
 member internal
 member local
!
dial-peer cor list user-domestic
 member internal
 member local
 member domestic
!
dial-peer cor list call-saralocal
 member saralocal
!
dial-peer cor list call-saradomestic
 member saradomestic
!
dial-peer cor list user-sara
 member internal
 member saralocal
 member saradomestic
!
dial-peer cor list call
!
!
dial-peer voice 30 voip
 description ** cue voicemail pilot number **
 translation-profile outgoing FLI
 destination-pattern 3701
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 31 voip
 description ** cue auto attendant number **
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3700
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 32 voip
 description ** cue auto attendant prompt management **
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3702
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 10 pots
 translation-profile incoming incomingt1
 incoming called-number .
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 11 pots
 translation-profile outgoing outgoing
 destination-pattern 9[2-9].........
 port 0/0/0:23
 forward-digits 10
!
dial-peer voice 33 voip
 description ** adapttosolve **
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3703
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 34 voip
 description ** AJK **
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3704
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 35 voip
 description AJK-Columbus
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3705
 session protocol sipv2
 session target ipv4:172.21.15.21
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 40 pots
 translation-profile incoming incomingfor_6100
 incoming called-number 4531
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 41 pots
 translation-profile incoming incomingfor_6100
 incoming called-number 4530
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 36 voip
 description cpak
 translation-profile outgoing PSTN_CallForwarding
 destination-pattern 3708
 session protocol sipv2
 session target ipv4:172.21.15.21
 incoming called-number .
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 42 pots
 translation-profile incoming incomingfor_7000
 incoming called-number 5007
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 43 pots
 translation-profile incoming incomingfor_7009
 incoming called-number 5008
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 911 pots
 description 911 dialing
 translation-profile outgoing outgoing
 destination-pattern 911
 port 0/0/0:23
 forward-digits 10
!
dial-peer voice 9911 pots
 description 9911 dialing
 translation-profile outgoing outgoing
 destination-pattern 9911
 port 0/0/0:23
 forward-digits 10
!
dial-peer voice 91 pots
 description long distance
 destination-pattern 91..........
 port 0/0/0:23
 forward-digits 11
!
dial-peer voice 4310 pots
 translation-profile incoming incomingfor_4310
 incoming called-number 5009
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 5012 pots
 translation-profile incoming incomingfor_5012
 incoming called-number 5012
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 5013 pots
 translation-profile incoming incomingfor_5013
 incoming called-number 5013
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 5014 pots
 translation-profile incoming incomingfor_5014
 incoming called-number 5014
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3015 pots
 translation-profile incoming incomingfor_3015
 incoming called-number 5010
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3001 pots
 translation-profile incoming incomingfor_3001
 incoming called-number 0120
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3002 pots
 translation-profile incoming incomingfor_3002
 incoming called-number 3491
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3003 pots
 translation-profile incoming incomingfor_3003
 incoming called-number 3494
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3004 pots
 translation-profile incoming incomingfor_3004
 incoming called-number 3475
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3005 pots
 translation-profile incoming incomingfor_3005
 incoming called-number 3490
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3006 pots
 translation-profile incoming incomingfor_3006
 incoming called-number 3478
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3007 pots
 translation-profile incoming incomingfor_3007
 incoming called-number 3481
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3008 pots
 translation-profile incoming incomingfor_3008
 incoming called-number 3480
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3009 pots
 translation-profile incoming incomingfor_3009
 incoming called-number 3486
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3010 pots
 translation-profile incoming incomingfor_3010
 incoming called-number 3489
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3011 pots
 translation-profile incoming incomingfor_3011
 incoming called-number 3479
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3012 pots
 translation-profile incoming incomingfor_3012
 incoming called-number 3488
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3013 pots
 translation-profile incoming incomingfor_3013
 incoming called-number 0116
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3014 pots
 translation-profile incoming incomingfor_3014
 incoming called-number 3476
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3000 pots
 translation-profile incoming incomingfor_3000
 incoming called-number 2512
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3020 pots
 translation-profile incoming incomingfor_3020
 incoming called-number 8082
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3021 pots
 translation-profile incoming incomingfor_3021
 incoming called-number 1112
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3022 pots
 translation-profile incoming incomingfor_3022
 incoming called-number 8038
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3023 pots
 translation-profile incoming incomingfor_3023
 incoming called-number 1338
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 3024 pots
 translation-profile incoming incomingfor_3024
 incoming called-number 5011
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 30001 pots
 translation-profile incoming incomingfor_3000
 incoming called-number 7773
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 30002 pots
 translation-profile incoming incomingfor_3000
 incoming called-number 8113
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 30003 pots
 translation-profile incoming incomingfor_30003492
 incoming called-number 3492
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 4309 pots
 translation-profile incoming incomingfor_4309
 incoming called-number 5015
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 210311 pots
 call-block translation-profile incoming call_block
 call-block disconnect-cause incoming call-reject
 incoming called-number .
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 5015 pots
 translation-profile incoming incomingfor_5015
 incoming called-number 5015
 direct-inward-dial
 port 0/0/0:23
!
dial-peer voice 1074 pots
 translation-profile incoming incomingfor_1074
 incoming called-number 7062985016
 direct-inward-dial
 port 0/0/0:23
!


Here is the debug:

Dec 17 14:47:52.701: //-1/FD153C8C8CA1/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=7065809439
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=3
   dest=5016
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   cisco-rdntype=-1
   cisco-rdnplan=-1
   cisco-rdnpi=-1
   cisco-rdnsi=-1
   cisco-redirectreason=-1   fwd_final_type =0
   final_redirectNumber =
   hunt_group_timeout =0

Dec 17 14:47:52.701: //-1/FD153C8C8CA1/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x68836818, Call Info(
   Calling Number=7065809439,(Calling Name=)(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
   Called Number=5016(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=10, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Dec 17 14:47:52.701: //-1/FD153C8C8CA1/CCAPI/ccCheckClipClir:
   In: Calling Number=7065809439(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
Dec 17 14:47:52.701: //-1/FD153C8C8CA1/CCAPI/ccCheckClipClir:
   Out: Calling Number=7065809439(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed)
Dec 17 14:47:52.701: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
   
Dec 17 14:47:52.701: :cc_get_feature_vsa malloc success
Dec 17 14:47:52.701: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
   
Dec 17 14:47:52.701:  cc_get_feature_vsa count is 19
Dec 17 14:47:52.701: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
   
Dec 17 14:47:52.701: :FEATURE_VSA attributes are: feature_name:0,feature_time:1733957800,feature_id:43265
Dec 17 14:47:52.701: //22702/FD153C8C8CA1/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=7065809439(TON=National, NPI=ISDN, Screening=Network, Presentation=Allowed),
   Called Number=5016(TON=Unknown, NPI=Unknown))
Dec 17 14:47:52.701: //22702/FD153C8C8CA1/CCAPI/cc_process_call_setup_ind:
   Event=0x70B3BC68
Dec 17 14:47:52.701: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 5016
Dec 17 14:47:52.701: //22702/FD153C8C8CA1/CCAPI/ccCallSetContext:
   Context=0x6A585CBC
Dec 17 14:47:52.701: //22702/FD153C8C8CA1/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 22702 with tag 10 to app "_ManagedAppProcess_Default"
Dec 17 14:47:52.701: //22702/FD153C8C8CA1/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Dec 17 14:47:52.705: //22702/FD153C8C8CA1/CCAPI/ccCallDisconnect:
   Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Dec 17 14:47:52.705: //22702/FD153C8C8CA1/CCAPI/ccCallDisconnect:
   Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
Dec 17 14:47:52.705: //22702/FD153C8C8CA1/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Dec 17 14:47:52.789: //22702/FD153C8C8CA1/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x68836818, Tag=0x0, Call Id=22702,
   Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
Dec 17 14:47:52.789: //22702/FD153C8C8CA1/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Dec 17 14:47:52.789: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
   
Dec 17 14:47:52.789: :cc_free_feature_vsa freeing 675A18A0
Dec 17 14:47:52.789: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
   
Dec 17 14:47:52.789:  vsacount in free is 18terminal monitor
0
 
voipmanCommented:
Looks like the telco is only sending you 4 digits per your other dial peers and the debug you posted earlier.  Do the following changes and see if it works

dial-peer voice 1074 pots
 translation-profile incoming incomingfor_1074
 incoming called-number 5016
 direct-inward-dial
 port 0/0/0:23


voice translation-rule 15
 rule 1 /5016/ /1074/
0
 
BrockstedtAuthor Commented:
I will contact our telecom company to correct this issue - thanks
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now