09-03-2015 01:58 PM - edited 03-17-2019 04:12 AM
I am having some issues getting calls to translate properly on my CME router. I am just trying to do a very simple translation from "5437001" to "7001" and after I setup my translation, I run the "Test Voice Translation-rule 1" command against 5437001, it shows that it will translate the numbers to 7001 but if I call in from an outside line, the CME will not translate it. Am I missing something?
----Translation Rule
!
!
voice translation-rule 1
rule 1 /5437001/ /7001/
!
!
---Translation Testing
Test_Router1#test voice translation-rule 1 5437001
Matched with rule 1
Original number: 5437001 Translated number: 7001
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none
---Incoming Call (Not Translating to 7001)
Test_Router1#
Sep 3 21:15:58.188: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0023
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Calling Party Number i = 0x0081, '5000'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '5437001'
Plan:Unknown, Type:Unknown
Sep 3 21:15:58.196: ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x8023
Channel ID i = 0xA98381
Exclusive, Channel 1
Sep 3 21:15:58.200: ISDN Se0/0/0:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x8023
Cause i = 0x8081 - Unallocated/unassigned number
Sep 3 21:15:58.216: ISDN Se0/0/0:23 Q931: RX <- RELEASE pd = 8 callref = 0x0023
Sep 3 21:15:58.220: ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8023
Solved! Go to Solution.
09-04-2015 06:44 AM
Hi,
You are missing the following:
1. Voice profile
2. Incoming dialpeer with voice profile assigned or
3. Voice port with voice profile assigned
09-03-2015 03:14 PM
Did you applied this translation to profile and then to dial-peer or voice-port? it will only invoke matching the exact number and dial-peer on which call is coming or voice-port .
if you have incoming dial-peer voice 1 pots this need to applied on this dial-peer .
Just make sure putting in correct direction (Incoming or outgoing)
Br,
Nadeem ahmed
09-03-2015 06:50 PM
Hi,
Please post the output of sh run | sec voice and the output of debug voip dialpeer.
We need to make sure that the call is matching the dialpeer where voice translation is associated
09-04-2015 06:25 AM
Test_Router1#sh run | sec voice
voice-card 0
no dspfarm
voice translation-rule 1
rule 1 /5437001/ /7001/
isdn incoming-voice voice
voice-port 0/0/0:23
voice-port 0/1/0
voice-port 0/1/1
voice-port 0/1/2
voice-port 0/1/3
dial-peer voice 100 pots
description Local Calls
destination-pattern 9[2-9]..[2-9]...
direct-inward-dial
port 0/0/0:23
forward-digits 7
dial-peer voice 101 pots
description Long Distance Calls
destination-pattern 91[2-9]..[2-9]..[2-9]...
forward-digits 11
dial-peer voice 400 pots
destination-pattern 5...
dial-peer voice 5000 pots
destination-pattern 95000
port 0/0/0:23
forward-digits 4
Test_Router1#debug voip dialpeer
voip dialpeer default debugging is on
Test_Router1#
Sep 4 13:45:56.860: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0024
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Calling Party Number i = 0x0081, '5000'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '5437001'
Plan:Unknown, Type:Unknown
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5000, Called Number=5437001, Voice-Interface=0x486CD408,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=100
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5000, Called Number=5437001, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_FAX
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5437001, Peer Info Type=DIALPEER_INFO_SPEECH
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5437001
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Sep 4 13:45:56.864: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=NO_MATCH(-1)
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=5437001, Called Number=5437001, Peer Info Type=DIALPEER_INFO_SPEECH
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5437001
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5437001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Sep 4 13:45:56.872: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Sep 4 13:45:56.872: //-1/1A626F39802E/DPM/dpMatchPeersCore:
Calling Number=, Called Number=5437001, Peer Info Type=DIALPEER_INFO_SPEECH
Sep 4 13:45:56.872: //-1/1A626F39802E/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=5437001
Sep 4 13:45:56.872: //-1/1A626F39802E/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Sep 4 13:45:56.872: //-1/1A626F39802E/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
Sep 4 13:45:56.876: ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x8024
Channel ID i = 0xA98381
Exclusive, Channel 1
Sep 4 13:45:56.880: ISDN Se0/0/0:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x8024
Cause i = 0x8081 - Unallocated/unassigned number
Sep 4 13:45:56.896: ISDN Se0/0/0:23 Q931: RX <- RELEASE pd = 8 callref = 0x0024
Sep 4 13:45:56.900: ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8024
Test_Router1#
09-04-2015 06:44 AM
Hi,
You are missing the following:
1. Voice profile
2. Incoming dialpeer with voice profile assigned or
3. Voice port with voice profile assigned
09-04-2015 06:57 AM
That is what I needed thanks.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: