06-15-2012 09:23 AM - edited 03-16-2019 11:41 AM
Here is the setup:
Small site with a Cisco 2801 GW. The Call Manager this site hangs off of is being shut down and we need to swing them to a new PBX. Rather then buy anything(we have telephone sets) we want to use the existing Cisco GW to push the calls to our Enterprise SIP routing engine (Avaya Session Manager) and go to a Nortel CS1000E. Incoming DID service is proved by a Ground-start trunk group which the carrier outpulses 10 digits on. To make everything work we need to translate the incoming 10-digit number to a 10-digit number associated with the Nortel CS1000E
Note that DID's do not in any way match extension numbers because these folks did not want to give up thier numbers from the old Centrex days. The IOS version is 15.1(4)M4 IP Voice.
Problem:
When I modify the incoming translation rules to point a particular DID at Session manager it seems to still be taking the Call Manager dial peer. The debug logs below clearly show the call was translated correcty and that it took dial-peer 2
Configuration:
voice translation-rule 1
rule 1 ......
rule 2 /XXX1230516/ /yyyzzz3422/
rule 3 ......
voice translation-profile Incoming
translate called 1
voice-port 0/2/0
signal did wink-start
translation-profile incoming Incoming
timing inter-digit 75
!
dial-peer voice 4 voip
preference 10
destination-pattern xxxyyy3422
progress_ind setup enable 3
progress_ind progress enable 8
session protocol sipv2
session target dns:rcb.us.lmco.com
voice-class sip outbound-proxy ipv4:<Session manager IP>
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 2 voip
translation-profile outgoing 600MD_10Incoming
preference 9
destination-pattern XXX.......
progress_ind setup enable 3
progress_ind progress enable 8
session target ipv4:<call Manager Subscriber IP>
dtmf-relay h245-alphanumeric
codec g711ulaw
!
Debug Logs:
Jun 15 12:11:54 EDT: //352/A7AE5FEE820B/CCAPI/cc_api_display_ie_subfields:
ccCallSetupRequest:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=
cisco-anitype=0
cisco-aniplan=0
cisco-anipi=0
cisco-anisi=0
dest=xxxyyy3422
cisco-desttype=0
cisco-destplan=0
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=0
cisco-rdnplan=0
cisco-rdnpi=0
cisco-rdnsi=0
cisco-redirectreason=0 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0
Jun 15 12:11:54 EDT: //352/A7AE5FEE820B/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x67EFDEAC, Interface Type=1, Destination=, Mode=0x0,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=xxxyyy3422(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=RegularLine, FinalDestinationFlag=FALSE, Outgoing Dial-peer=2, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
06-15-2012 09:25 AM
Please post "debug voice dialpeer"
Chris
06-15-2012 09:27 AM
Jun 15 12:25:52 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x68636B94,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:52 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Jun 15 12:25:52 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=20, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=20
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=20, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=202, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=202
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=202, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:52 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=20255, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=20255
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=20255, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=202554, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=202554
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=202554, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025540, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=20255405, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=20255405
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=20255405, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=202554051, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=202554051
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Partial Matches(1) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=202554051, saf_enabled=1, saf_dndb_lookup=0, dp_result=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=MORE_DIGITS_NEEDED(1)
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=1, saf_dndb_lookup=0, dp_result=0
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=2025540516, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2025540516, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=0, saf_dndb_lookup=1, dp_result=0
Jun 15 12:25:53 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2025540516, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2025540516
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchSafModulePlugin:
dialstring=2025540516, saf_enabled=1, saf_dndb_lookup=1, dp_result=0
Jun 15 12:25:53 EDT: //-1/9BC96A1A8230/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=2
2: Dial-peer Tag=1
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=NO_MATCH(-1)
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=3016403422, Peer Info Type=DIALPEER_INFO_SPEECH
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=3016403422
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:
dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0
Jun 15 12:25:54 EDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=4
06-15-2012 09:30 AM
I notice at the end its says Dial-peer four was matched, however a packet trace shows only H323 traffic to the Call Manager and NO SIP traffic to the session manager
06-15-2012 04:08 PM
Nathan,
The dial-peer 4 is a sip leg. I have personally experienced a scenario where the debug voip ccapi inout didnt show what was happening on a sip leg..so I suggest you do the ff:
debug ccsip messages (this will show if your number is correctly xlated and hence should match the sip leg)
debug voip ccapi inout
Please post the output here
Please rate useful posts
"For the love of God is broader than the measure of man's mind And the heart of the Eternal is most wonderfully kind"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide