
CALL DOES NOT ROUTE OUT THE LOCAL GATEWAY
Local calls will not route out the local Gateway of branch1 to the PSTN or from the PSTN back to branch1, however they will route out either CorpHQ or branch2 backup gateways. When I go into the route group configuration for branch1, and remove the backup gateways, I get a fast busy tone when I dial the local number. I know the MGCP Gateway at branch1 is functioning because when I dial 911 and run debug ISDN Q931, the call routes properly through branch1, so I have a call routing problem. I ran DNA and it came back as ROUTE THIS PATTERN and all of the number translations looked accurate, so I didn't have to check for any block patterns. I'm not getting any errors on the calling party phone display. When I deleted the route pattern for the branch1 site and forced it to use the global route pattern, I received a debug output on branch1. I do not know a debug command (such as debug voip dial-peer or debug ccsip messages) to use for an MGCP Gateway to see if the call is actually reaching the Gateway.
I have checked the following:
the route pattern configuration
the translation pattern configuration
the called party transformation pattern configuration
the route list configuration to make sure the correct route group for branch1 was selected
the route group configuration to make sure that the branch1 Gateway was first in the order of selected devices
the route pattern configuration to make sure the correct route list for branch1 ist selected
the Gateway configuration to make sure it's using the device pool for branch1 and to make sure the called party transformation CSS for the branch1 Gateway is applied
the device pool configuration to make sure it's using the route group branch1
Any assistance would be greatly appreciated
Regards,
Ron
Comments
Ron,
You can debug the mgcp messages on the gateway, the debug is debug mgcp events or just do a debug mgcp ? to see all of the available option. Since you are debugging the isdn q931 I would be interested in seeing if maybe the leading 9 isn't being dropped, so it could be a called party transformation that your having issues with, but really would be hard to tell without details of the config. Hope this helps.
Aaron
When I make a call from the branch1 phone, the call is routing out the wrong Gateway 'CorpHQ' and is selecting dial-peer 12, which is configured for a national number and it is prefixing a '1' to the called party number.The call also hangs up immediately with the following error: Cause i = 0x8290 - Normal call clearing. In the DNA output, it is selecting the global route pattern rather than route pattern that was created for branch1...
Thanks,
Ron
_____________________________________________________________________________________________
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=15126026222, Called Number=15126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=15126026222
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=NO_MATCH(-1)
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5126022001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=5126022001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/B6232F47806E/DPM/dpAssociateIncomingPeerCore:
Calling Number=5126022001, Called Number=15126026222, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/B6232F47806E/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=100
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=915126026222
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=12
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=915126026222
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=12
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=915126026222, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=915126026222
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=12
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=915126026222, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=915126026222, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=915126026222
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=12
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Calling Number=, Called Number=915126026222, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=915126026222
//-1/B6232F47806E/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/B6232F47806E/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=12
ISDN Se0/0/0:23 Q931: Applying typeplan for sw-type 0xD is 0x2 0x1, Calling num 5126022001
ISDN Se0/0/0:23 Q931: Sending SETUP callref = 0x0092 callID = 0x8013 switch = primary-ni interface = User
ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8 callref = 0x0092
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98383
Exclusive, Channel 3
Calling Party Number i = 0x2181, '5126022001'
Plan:ISDN, Type:National
Called Party Number i = 0xA1, '15126026222'
Plan:ISDN, Type:National
ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8 callref = 0x8092
Channel ID i = 0xA98383
Exclusive, Channel 3
ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x8092
Cause i = 0x8290 - Normal call clearing ------------------------------- THE CALL HANGS UP IMMEDIATELY
ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x0092
ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8092
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=91[2-9]..[2-9]......$, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=^2065011...$, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
_____________________________________________________________________________________________
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
!
dial-peer voice 10 pots
translation-profile outgoing MakeSubscriber
destination-pattern 911
no digit-strip
port 0/0/0:23
!
dial-peer voice 11 pots
translation-profile outgoing MakeSubscriber
destination-pattern 9[2-9]..[2-9]......$
port 0/0/0:23
!
dial-peer voice 12 pots
translation-profile outgoing MakeNational
destination-pattern 91[2-9]..[2-9]......$
port 0/0/0:23
forward-digits 11
!
dial-peer voice 13 pots
translation-profile outgoing MakeInternational
destination-pattern 9011T
port 0/0/0:23
prefix 011
!
dial-peer voice 100 voip
description == Inbound/Outbound SIP PSTN GW From/To CUCM Pub
translation-profile incoming Prefix9_InFrom_CUCM
destination-pattern ^2065011...$
voice-class codec 1
session protocol sipv2
session target ipv4:177.1.10.10
incoming called-number .
ip qos dscp cs3 signaling
Hey Ron,
Are you adding the route groups to route list? And then pointing the route pattern to the route list?
Hey Ron
For local calls are you dialing a 7 digit number or 10 digit number?
Because for local calls a 7 digit number is to be dialed.
If you are not dialing a 7 digit number it may be the reason that call is routed through other gateway?
Hey Ron
For local calls are you dialing a 7 digit number or 10 digit number?
Because for local calls a 7 digit number is to be dialed.
If you are not dialing a 7 digit number it may be the reason that call is routed through other gateway
Hey Ron
You should try dialing it once using a 7 digit dialing. Because when the system checks that a 10 digit number is being dialed it sends the number to the other gateway because the system knows that its not a local call. So it maybe possible that the other gateway is being selected for the same reason. In your LAN environment it depends what numbers have you created at the PSTN router.
Can you please share the scenario on which you are working with here?
Hey Ron
Is your problem solved?
Please see the followind debug outputs.
Thanks,
Ron
The following INBOUND call from the PSTN to 2065011001 is now working, however it is supposed to be routing through CorpHQ and is instead routing through Branch1. Please see 'DEBUG VOIP CCAPI INOUT' & 'DEBUG ISDN Q931'
Branch1#
ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x0096
Cause i = 0x8290 - Normal call clearing
//22/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0x16, digit_event=0x0, enable=FALSE, consume=FALSE)
//22/5A001212800B/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=22
//22/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x49E07FD4, callID=0x16, disp=0, digit_event=0x0, enable=FALSE, consume=FALSE)
//22/5A001212800B/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=22
//22/5A001212800B/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms))
//22/5A001212800B/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Null,
Tone Direction=Network, Params=0x0, Call Id=22
//23/5A001212800B/CCAPI/ccGetCallStatistics:
Call Stats=0x4A5346FC, Call Id=23
//22/5A001212800B/CCAPI/ccConferenceDestroy:
Conference Id=0xC, Tag=0x0
//22/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
Conference Id=0xC, Source Interface=0x49E07FD4, Source Call Id=22,
Destination Call Id=23, Disposition=0x0, Tag=0x0
//23/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
Conference Id=0xC, Source Interface=0x495BABA4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
//22/5A001212800B/CCAPI/cc_generic_bridge_done:
Conference Id=0xC, Source Interface=0x495BABA4, Source Call Id=23,
Destination Call Id=22, Disposition=0x0, Tag=0x0
//22/5A001212800B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
//22/5A001212800B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
//22/5A001212800B/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
//23/5A001212800B/CCAPI/ccCallDisconnect:
Cause Value=16, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
//23/5A001212800B/CCAPI/ccCallDisconnect:
Cause Value=16, Call Entry(Responsed=TRUE, Cause Value=16)
//23/5A001212800B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x495BABA4, Tag=0x0, Call Id=23,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
//23/5A001212800B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
:cc_free_feature_vsa freeing 4821DDE8
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
vsacount in free is 1
//22/5A001212800B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x49E07FD4, Tag=0x0, Call Id=22,
Call Entry(Disconnect Cause=16, Voice Class Cause Code=0, Retry Count=0)
//22/5A001212800B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
:cc_free_feature_vsa freeing 4821DEC8
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
vsacount in free is 0
ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x8096
ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x0096
ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0097
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18381
Preferred, Channel 1
Progress Ind i = 0x8183 - Origination address is non-ISDN
Display i = 'Seattle US Phone'
Calling Party Number i = 0x4180, '2065015111'
Plan:ISDN, Type:Subscriber(local)
Called Party Number i = 0xC1, '2065011001'
Plan:ISDN, Type:Subscriber(local)
//-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x49E07FD4, Interface Type=6, Destination=, Mode=0x9,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=FALSE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=D000000002f5368f000000F580000097)
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:cc_get_feature_vsa malloc success
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
cc_get_feature_vsa count is 1
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:FEATURE_VSA attributes are: feature_name:0,feature_time:1210179280,feature_id:24
//24/74820328800C/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1
//24/74820328800C/CCAPI/ccCallSetContext:
Context=0x4A524790
//-1/xxxxxxxxxxxx/CCAPI/ccIFCallSetupRequestPrivate:
Interface=0x495BABA4, Interface Type=9, Destination=0.0.0.0, Mode=0x9,
Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),
Called Number=(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
Subscriber Type Str=, FinalDestinationFlag=FALSE, Outgoing Dial-peer=0, Call Count On=TRUE,
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=D000000002f5368f000000F580000097)
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:cc_get_feature_vsa malloc success
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
cc_get_feature_vsa count is 2
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:FEATURE_VSA attributes are: feature_name:0,feature_time:1210179056,feature_id:25
//25/74820328800C/CCAPI/ccIFCallSetupRequestPrivate:
SPI Call Setup Request Is Success; Interface Type=9, FlowMode=1
//25/74820328800C/CCAPI/ccCallSetContext:
Context=0x4A524580
//25/74820328800C/CCAPI/cc_api_call_connected:
Interface=0x495BABA4, Data Bitmask=0x0, Progress Indication=NULL(0),
Connection Handle=0
//25/74820328800C/CCAPI/cc_api_call_connected:
Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
//24/74820328800C/CCAPI/cc_api_call_proceeding:
Interface=0x49E07FD4, Progress Indication=NULL(0)
//24/74820328800C/CCAPI/cc_api_call_connected:
Interface=0x49E07FD4, Data Bitmask=0x1, Progress Indication=DESTINATION IS NON ISDN(2),
Connection Handle=0
//24/74820328800C/CCAPI/cc_api_call_connected:
Call Entry(Connected=TRUE, Responsed=TRUE, Retry Count=0)
//24/74820328800C/CCAPI/ccCallModify:
Nominator=0x1000, Params=0x4A2E7368, Call Id=24
//24/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0x18, digit_event=0x1, enable=TRUE, consume=FALSE)
//24/74820328800C/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=24
//24/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x49E07FD4, callID=0x18, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
//24/74820328800C/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=24
//24/74820328800C/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=15000(ms), Inter Digit Timeout=10000(ms))
//24/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4A2E757C, callID1=0x18, callID2=0x19, tag=0x0)
//24/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4A2E757C, callID1=0x18, gcid=0-0-0-0, tag=0x0)
//25/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
(confID=0x4A2E757C, callID2=0x19, gcid=0-0-0-0, tag=0x0)
//24/74820328800C/CCAPI/ccConferenceCreate:
Conference Id=0x4A2E757C, Call Id1=24, Call Id2=25, Tag=0x0
//24/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
Conference Id=0xD, Source Interface=0x49E07FD4, Source Call Id=24,
Destination Call Id=25, Disposition=0x0, Tag=0xFFFFFFFF
//25/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
Conference Id=0xD, Source Interface=0x495BABA4, Source Call Id=25,
Destination Call Id=24, Disposition=0x0, Tag=0x0
//24/74820328800C/CCAPI/cc_generic_bridge_done:
Conference Id=0xD, Source Interface=0x495BABA4, Source Call Id=25,
Destination Call Id=24, Disposition=0x0, Tag=0x0
//24/74820328800C/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0xD, Destination Call Id=25)
//25/74820328800C/CCAPI/ccConferenceCreate:
Call Entry(Conference Id=0xD, Destination Call Id=24)
//24/74820328800C/CCAPI/cc_api_caps_ind:
Destination Interface=0x495BABA4, Destination Call Id=25, Source Call Id=24,
Caps(Codec=0x1, Fax Rate=0x1, Vad=0x1,
Modem=0x2, Codec Bytes=20, Signal Type=3)
//24/74820328800C/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
//25/74820328800C/CCAPI/cc_api_caps_ind:
Destination Interface=0x49E07FD4, Destination Call Id=24, Source Call Id=25,
Caps(Codec=0x4, Fax Rate=0x2, Vad=0x1,
Modem=0x0, Codec Bytes=20, Signal Type=2)
//25/74820328800C/CCAPI/cc_api_caps_ind:
Caps(Playout Mode=1, Playout Initial=60(ms), Playout Min=40(ms),
Playout Max=1000(ms), Fax Nom=300(ms))
//25/74820328800C/CCAPI/cc_api_caps_ack:
Destination Interface=0x49E07FD4, Destination Call Id=24, Source Call Id=25,
Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=9314)
//24/74820328800C/CCAPI/cc_api_caps_ack:
Destination Interface=0x495BABA4, Destination Call Id=25, Source Call Id=24,
Caps(Codec=g729r8(0x4), Fax Rate=FAX_RATE_VOICE(0x2), Vad=OFF(0x1),
Modem=OFF(0x0), Codec Bytes=20, Signal Type=2, Seq Num Start=9314)
//24/74820328800C/CCAPI/cc_api_call_modify_done:
Result=0, Interface=0x49E07FD4, Call Id=24
//24/74820328800C/CCAPI/cc_api_voice_mode_event:
Call Id=24
//24/74820328800C/CCAPI/cc_api_voice_mode_event:
Call Entry(Context=0x4A524790)
//24/74820328800C/CCAPI/cc_process_notify_bridge_done:
Conference Id=0xD, Call Id1=24, Call Id2=25
//24/74820328800C/CCAPI/ccSetDigitTimeouts:
Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms)
//24/74820328800C/CCAPI/ccSetDigitTimeouts:
Call Entry(Inter Digit Timeout=4000(ms), Initial Digit Timeout=4000(ms))
//24/74820328800C/CCAPI/ccRestartDigitTimeoutMsec:
Digit Timeout=0, Call Id=24
//24/xxxxxxxxxxxx/CCAPI/ccCallReportDigits:
(callID=0x18, digit_event=0x1, enable=TRUE, consume=FALSE)
//24/74820328800C/CCAPI/ccCallReportDigits:
Enabled=TRUE, Call Id=24
//24/xxxxxxxxxxxx/CCAPI/cc_api_call_report_digits_done:
(vdbPtr=0x49E07FD4, callID=0x18, disp=0, digit_event=0x1, enable=TRUE, consume=FALSE)
//24/74820328800C/CCAPI/cc_api_call_report_digits_done:
Enabled=TRUE, Disposition=0x0, Interface=0x49E07FD4, Call Id=24
//24/74820328800C/CCAPI/cc_api_call_report_digits_done:
Call Entry(Initial Digit Timeout=4000(ms), Inter Digit Timeout=4000(ms))
ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x8097
Channel ID i = 0xA98381
Exclusive, Channel 1
//24/74820328800C/CCAPI/ccCallModify:
Nominator=0x1000, Params=0x4A2E6E68, Call Id=24
//24/74820328800C/CCAPI/cc_api_call_modify_done:
Result=0, Interface=0x49E07FD4, Call Id=24
ISDN Se0/0/0:23 Q931: TX -> ALERTING pd = 8 callref = 0x8097
Progress Ind i = 0x8088 - In-band info or appropriate now available
//24/74820328800C/CCAPI/ccGenerateToneInfo:
Stop Tone On Digit=FALSE, Tone=Ring Back,
Tone Direction=Network, Params=0x0, Call Id=24
//24/74820328800C/CCAPI/cc_handle_inter_digit_timer:
Generate inter-digit timeout CC_EV_CALL_DIGIT_END event
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The following INBOUND call from the PSTN to 5126022001 fails and is supposed to be routing through Branch1 and is instead routing through CorpHQ. Please see 'DEBUG VOIP CCAPI INOUT'
CorpHQ#
//-1/A31ADF52800B/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=5126026222
cisco-anitype=4
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=0
dest=5126022001
cisco-desttype=4
cisco-destplan=1
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
//-1/A31ADF52800B/CCAPI/cc_api_call_setup_ind_common:
Interface=0x49F42894, Call Info(
Calling Number=5126026222,(Calling Name=)(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=5126022001(TON=Subscriber, NPI=ISDN),
Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Incoming Dial-peer=1, 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
//-1/A31ADF52800B/CCAPI/ccCheckClipClir:
In: Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
//-1/A31ADF52800B/CCAPI/ccCheckClipClir:
Out: Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed)
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:cc_get_feature_vsa malloc success
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
cc_get_feature_vsa count is 1
//-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
:FEATURE_VSA attributes are: feature_name:0,feature_time:1241383960,feature_id:13
//13/A31ADF52800B/CCAPI/cc_api_call_setup_ind_common:
Set Up Event Sent;
Call Info(Calling Number=5126026222(TON=Subscriber, NPI=ISDN, Screening=Not Screened, Presentation=Allowed),
Called Number=5126022001(TON=Subscriber, NPI=ISDN))
//13/A31ADF52800B/CCAPI/cc_process_call_setup_ind:
Event=0x497D0010
//-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Try with the demoted called number 5126022001
//13/A31ADF52800B/CCAPI/ccCallSetContext:
Context=0x4A131A54
//13/A31ADF52800B/CCAPI/cc_process_call_setup_ind:
>>>>CCAPI handed cid 13 with tag 1 to app "_ManagedAppProcess_Default"
//13/A31ADF52800B/CCAPI/ccCallProceeding:
Progress Indication=NULL(0)
//13/A31ADF52800B/CCAPI/ccCallDisconnect:
Cause Value=1, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
//13/A31ADF52800B/CCAPI/ccCallDisconnect:
Cause Value=1, Call Entry(Responsed=TRUE, Cause Value=1)
//13/A31ADF52800B/CCAPI/cc_api_get_transfer_info:
Transfer Number Is Null
//13/A31ADF52800B/CCAPI/cc_api_call_disconnect_done:
Disposition=0, Interface=0x49F42894, Tag=0x0, Call Id=13,
Call Entry(Disconnect Cause=1, Voice Class Cause Code=0, Retry Count=0)
//13/A31ADF52800B/CCAPI/cc_api_call_disconnect_done:
Call Disconnect Event Sent
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
:cc_free_feature_vsa freeing 49FE0410
//-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:
vsacount in free is 0
Hi Ron
Are you doing any digit manipulations at the route list level?
Are you trying to implement TEHO?
No, there are no CALLING or CALLED party transformations configured on any of the ROUTE LISTS. I do not have Teho implemented at this time...
Thanks,
Ron
I can't understand why Callmanager is selecting the wrong gateway for both CorpHQ & Branch1. It's as if they are reversed for some reason when I am making a call that is NOT an emergency services call. The 911 calls route correctly out both gateways...
Hi Ron
Which type of gateway have you added in the gateways section.?
I mean have you configured MGCP, H.323 or SIP Trunk?
Are you able to see the output debug on both gateways simultaneously?
What output do you obtain when you enter this command: show dialplan number "enter the dialed number here"?
CorpHQ is a SIP Trunk, Branch1 is an MGCP Gateway. When I dial Inbound from the PSTN on the 206 area code line which is assigned to the CorpHQ site, the debug output is displayed on the Branch1 gateway. Conversly, when I dial Inbound from the PSTN on the 512 area code line which is assigned to the Branch1 site, the debug output is displayed on the CorpHQ gateway. I have the same issues dialing outbound when I dial a local number, however 911 & 9911 calls route correctly through the proper gateways for both sites, so the gateways are functioning but there is a call routing issue. I am using translation patterns for digit manipulation, a global route patten to route the call out the gateway/trunk, and Called Party Transformation Patterns for further digit manipulation. I do not have any Calling Party Transformation Patterns configured. I'm not sure if that is necessary...
Thanks,
Ron
Go on the pstn router and check the dialpeers are pointing to the right voice ports.
Hi:
I looked at the PSTN dial-peers and checked which ports the 206 & 512 route patterns were assigned to then I looked at show inventory then I checked the ports on the controller card and the connections were indeed backwards. That's the price you pay for letting someone else configure your PSTN router, however I never would have found the problem on my own without your assistance. I can now dial OUTBOUND from both CorpHQ & Branch1 and the calls are routing out the correct local gateway. I can also dial INBOUND to Branch1 with the same success utilizing the correct gateway.
I only have one remaining issue dialing INBOUND to CorpHQ on the 206 area code dialing the local number 2065011001.
Below is part of the CorpHQ config that is pertinent to this issue for dial-peer 100 along with debug isdn q931 & debug voip dialpeer. Your assistance is greatly appreciated.
Regards,
Ron
CORPHQ CONFIG
voice translation-rule 10
rule 1 /^[2-9].........$/ /9&/
rule 2 /^1[2-9].........$/ /9&/
rule 3 /^011/ /9&/
!
voice translation-profile Prefix9_InFrom_CUCM
translate called 10
!
dial-peer voice 100 voip
description == Inbound/Outbound SIP PSTN GW From/To CUCM Pub
translation-profile incoming Prefix9_InFrom_CUCM
destination-pattern ^2065011...$
voice-class codec 1
session protocol sipv2
session target ipv4:177.1.10.10
incoming called-number .
ip qos dscp cs3 signaling
==========================================================================
DEBUG ISDN Q931 & DEBUG VOIP DIALPEER
ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0086
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18381
Preferred, Channel 1
Progress Ind i = 0x8183 - Origination address is non-ISDN
Display i = 'Seattle US Phone'
Calling Party Number i = 0x4180, '2065015111'
Plan:ISDN, Type:Subscriber(local)
Called Party Number i = 0xC1, '2065011001'
Plan:ISDN, Type:Subscriber(local)
ISDN Se0/0/0:23 Q931: Received SETUP callref = 0x8086 callID = 0x0004 switch = primary-ni interface = User
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2065015111, Called Number=2065011001, Voice-Interface=0x49D12AD8,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=1
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2065015111, Called Number=2065011001, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_FAX
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/xxxxxxxxxxxx/DPM/dpMatchPeers:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/48F77EC38005/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/48F77EC38005/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=2065011001, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2065011001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=2065011001, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Calling Number=, Called Number=2065011001, Peer Info Type=DIALPEER_INFO_SPEECH
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Match Rule=DP_MATCH_DEST; Called Number=2065011001
//-1/48F77EC38005/DPM/dpMatchPeersCore:
Result=Success(0) after DP_MATCH_DEST
//-1/48F77EC38005/DPM/dpMatchPeersMoreArg:
Result=SUCCESS(0)
List of Matched Outgoing Dial-peer(s):
1: Dial-peer Tag=100
ISDN Se0/0/0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x8086
Channel ID i = 0xA98381
Exclusive, Channel 1
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Calling Number=^2065011...$, Called Number=, Voice-Interface=0x0,
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,
Peer Info Type=DIALPEER_INFO_SPEECH
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
ISDN Se0/0/0:23 Q931: TX -> DISCONNECT pd = 8 callref = 0x8086
Cause i = 0x8081 - Unallocated/unassigned number
ISDN Se0/0/0:23 Q931: RX <- RELEASE pd = 8 callref = 0x0086
ISDN Se0/0/0:23 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8086
//-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
//-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:
Result=NO_MATCH(-1) After All Match Rules Attempt
You are getting unallocated/unassigned number.
Check that u are stripping down to 4 digits on the inbound SIP trunk on ucm. Also check that the CSS In bound can reach the partition of x1001.
Walt:
I went into the SIP gateway and the CSS for Inbound calls was in the <none> partition. You're a life saver!!!!!!!!
Now I can move on with my lab.
Many many thanks,
Ron
so I have a few thoughts on the thread.
1) the dialing of 7 digits or 10 digits is just a requirement of whatever lab you're doing. You really shouldn't even give this a thought from the perspective of what it SHOULD be. There's going to be MANY bigger things that you're going to ask yourself "why the hell would I want to do it that way" during your studies and lab time.
2) not that you would have access in the real lab, but did you check from the PSTN gateway to see what it's seeing? If you're doing your home lab (or even in INE's) there's a chance of a mismatch between the lab you're working on and what the PSTN router is configured for. It may very well be a dialed digit match that's being killed by the PSTN router (route unavailable, unallocated number, etc). So your CUCM is doing it's job and sending it to a backup path.
3) I think I read in your list of things that if you do a deb ISDN q931 you do see an attempt to place the call out through the BR1 gateway, can you share that debug as well, I don't remember seeing that.