cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
577
Views
5
Helpful
4
Replies

Problem matching inbound dialpeer on H.323 GW

johnhsnow
Level 1
Level 1

Hi All:

I need an extra pair of eyes to look at this configuration for H.323 gateway.

PSTN>FXOTRUNK>PLAR>AA

Inbound calls are routed correctly but match dialpeer 0 and I am suspecting codec issue. Should this dial-peer 1 not match all calls on the inbound call leg prior to the outbound call leg to the AA?  There are no translation patterns in the running configuration even though they are showing in the dialpeer.

dial-peer voice 1 pots

trunkgroup ALL_FXO

description FMM Incoming Calling

translation-profile incoming IncomingTranslation >>

incoming called-number .

direct-inward-dial

dial-peer voice 1000 voip

description Communications Manager Calling

destination-pattern 600

session target ipv4:x.x.x.x

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

Calling Number=, Called Number=, Voice-Interface=0x89A94500,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

11686548: *Sep 26 12:23:59.897 MDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

11686549: *Sep 26 12:23:59.897 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1

11686550: *Sep 26 12:23:59.897 MDT: //-1/A5C844149469/CCAPI/cc_api_display_ie_subfields:

   cc_api_call_setup_ind_common:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=780xxxxxxx

   cisco-anitype=0

   cisco-aniplan=0

   cisco-anipi=0

   cisco-anisi=0

   dest=600

   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

11686551: *Sep 26 12:23:59.897 MDT: //-1/A5C844149469/CCAPI/cc_api_call_setup_ind_common:

   Interface=0x89A94500, Call Info(

   Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=600(TON=Unknown, NPI=Unknown),

   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,

  Incoming Dial-peer=0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3), Calling IE Present=FALSE,

   Source Trkgrp Route Label=ALL_FXO, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1

11686552: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686553: *Sep 26 12:23:59.901 MDT: :cc_get_feature_vsa malloc success

11686554: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686555: *Sep 26 12:23:59.901 MDT:  cc_get_feature_vsa count is 2

11686556: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686557: *Sep 26 12:23:59.901 MDT: :FEATURE_VSA attributes are: feature_name:0,feature_time:2352397752,feature_id:3484

11686558: *Sep 26 12:23:59.901 MDT: //3484/A5C844149469/CCAPI/cc_api_call_setup_ind_common:

   Set Up Event Sent;

   Call Info(Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=600(TON=Unknown, NPI=Unknown))

11686559: *Sep 26 12:23:59.901 MDT: //3484/A5C844149469/CCAPI/cc_process_call_setup_ind:

   Event=0x89A3E898

11686560: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686561: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686562: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686563: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

11686564: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686565: *Sep 26 12:23:59.901 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:

   Try with the demoted called number 600

11686566: *Sep 26 12:23:59.901 MDT: //3484/A5C844149469/CCAPI/ccCallSetContext:

   Context=0x8C38ED18

11686567: *Sep 26 12:23:59.901 MDT: //3484/A5C844149469/CCAPI/cc_process_call_setup_ind:

   >>>>CCAPI handed cid 3484 with tag 0 to app "_ManagedAppProcess_Default"

11686568: *Sep 26 12:23:59.905 MDT: //3484/A5C844149469/CCAPI/ccCallProceeding:

   Progress Indication=NULL(0)

11686569: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686570: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686571: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686572: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

11686573: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686574: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686575: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686576: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686577: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

11686578: *Sep 26 12:23:59.905 MDT: //-1/A5C844149469/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686579: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=600, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686580: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686581: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686582: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

11686583: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686584: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=600, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

11686585: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1000

11686586: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

11686587: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=600, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

11686588: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=1000

11686589: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

11686590: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686591: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686592: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686593: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

11686594: *Sep 26 12:23:59.905 MDT: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686595: *Sep 26 12:23:59.909 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=600, Peer Info Type=DIALPEER_INFO_SPEECH

11686596: *Sep 26 12:23:59.909 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=600

11686597: *Sep 26 12:23:59.909 MDT: //-1/A5C844149469/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

11686598: *Sep 26 12:23:59.909 MDT: //-1/A5C844149469/DPM/dpMatchSafModulePlugin:

   dialstring=600, saf_enabled=1, saf_dndb_lookup=1, dp_result=0

11686599: *Sep 26 12:23:59.909 MDT: //-1/A5C844149469/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

11686600: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=FALSE, Mode=0,

   Outgoing Dial-peer=1000, Params=0x8C393DC8, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)

11686601: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccCheckClipClir:

   In: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)

11686602: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccCheckClipClir:

   Out: Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)

11686603: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccCallSetupRequest:

   Destination Pattern=600, Called Number=600, Digit Strip=FALSE

11686604: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccCallSetupRequest:

   Calling Number=(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=600(TON=Unknown, NPI=Unknown),

   Redirect Number=, Display Info=

   Account Number=, Final Destination Flag=TRUE,

   Guid=A5C84414-260F-11E3-9469-E9DB525C8024, Outgoing Dial-peer=1000

11686605: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=780xxxxxxx

   cisco-anitype=0

   cisco-aniplan=0

   cisco-anipi=0

   cisco-anisi=0

   dest=600

   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

11686606: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x88EAD8E0, Interface Type=1, Destination=, Mode=0x0,

   Call Params(Calling Number=,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),

   Called Number=600(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,

   Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=1000, Call Count On=FALSE,

   Source Trkgrp Route Label=ALL_FXO, Target Trkgrp Route Label=, tg_label_flag=1, Application Call Id=)

11686607: *Sep 26 12:23:59.909 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686608: *Sep 26 12:23:59.909 MDT: :cc_get_feature_vsa malloc success

11686609: *Sep 26 12:23:59.909 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686610: *Sep 26 12:23:59.909 MDT:  cc_get_feature_vsa count is 3

11686611: *Sep 26 12:23:59.909 MDT: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

11686612: *Sep 26 12:23:59.909 MDT: :FEATURE_VSA attributes are: feature_name:0,feature_time:2352395512,feature_id:3485

11686613: *Sep 26 12:23:59.909 MDT: //3485/A5C844149469/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=1, FlowMode=1

11686614: *Sep 26 12:23:59.909 MDT: //3485/A5C844149469/CCAPI/ccCallSetContext:

   Context=0x8C393D78

11686615: *Sep 26 12:23:59.909 MDT: //3484/A5C844149469/CCAPI/ccSaveDialpeerTag:

   Outgoing Dial-peer=1000

11686616: *Sep 26 12:24:03.213 MDT: //3485/A5C844149469/CCAPI/cc_api_set_called_ccm_detected:

   CallInfo(called ccm detected=TRUE ccmVersion 3)

11686617: *Sep 26 12:24:03.213 MDT: //3485/A5C844149469/CCAPI/cc_api_call_proceeding:

   Interface=0x88EAD8E0, Progress Indication=NULL(0)

11686618: *Sep 26 12:24:03.217 MDT: //3485/A5C844149469/CCAPI/cc_api_set_called_ccm_detected:

   CallInfo(called ccm detected=TRUE ccmVersion 3)

11686619: *Sep 26 12:24:03.217 MDT: //3485/A5C844149469/CCAPI/cc_api_set_delay_xport:

   CallInfo(delay xport=TRUE)

voice-port 0/1/0

trunk-group ALL_FXO 1

cptone CA

connection plar opx 600

description Analog Line

caller-id enable

!

voice-port 0/1/1

trunk-group ALL_FXO 2

cptone CA

connection plar opx 600

description Analog Line

caller-id enable

!

voice-port 0/1/2

trunk-group ALL_FXO 3

cptone CA

connection plar opx 600

description Analog Line

caller-id enable

!

voice-port 0/1/3

trunk-group ALL_FXO 4

cptone CA

connection plar opx 600

description Analog Line

caller-id enable

dial-peer voice 1 pots

trunkgroup ALL_FXO

description FMM Incoming Calling

translation-profile incoming IncomingTranslation

incoming called-number .

direct-inward-dial

!

dial-peer voice 911 pots

trunkgroup ALL_FXO

description FMM Emergency Calling

translation-profile outgoing CallingID

destination-pattern 911

forward-digits 3

!

dial-peer voice 9911 pots

trunkgroup ALL_FXO

description FMM Emergency Calling

translation-profile outgoing CallingID

destination-pattern 9911

forward-digits 3

!

dial-peer voice 780 pots

trunkgroup ALL_FXO

description FMM Local 10 digit Calling

translation-profile outgoing CallingID

destination-pattern 9780[2-9]......

forward-digits 10

!

dial-peer voice 587 pots

trunkgroup ALL_FXO

description FMM Long Distance Calling

translation-profile outgoing CallingID

destination-pattern 9587[2-9]......

forward-digits 10

!

dial-peer voice 110 pots

trunkgroup ALL_FXO

description FMM Long Distance Calling

translation-profile outgoing CallingID

destination-pattern 91[2-9]..[2-9]......

forward-digits 11

!

dial-peer voice 411 pots

trunkgroup ALL_FXO

description FMM Service Calling

translation-profile outgoing CallingID

destination-pattern 9[2-8]11

forward-digits 3

!

dial-peer voice 9011 pots

trunkgroup ALL_FXO

description FMM International Calling

translation-profile outgoing CallingID

destination-pattern 9011.T

prefix 011

!

dial-peer voice 1000 voip

description Communications Manager Calling

destination-pattern 600

session target ipv4:x.x.x.x

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

regards,

John

4 Replies 4

acampbell
VIP Alumni
VIP Alumni

John,

Your dial peer 1 pots is allocated to a trunk group called ALL_FXO.

Looking at your voice ports NONE of then are in that trunk group.

Just for a test can you change the trunk group on dial peer 1 to ALL_FXO 1

Then retest

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Hi Alex,

when i first looked at the voice ports i was thinking exactly the same thing, so i checked the options of that command and it was a preference.

So the voice ports are in order of preference from 1-4 but the trunkgroup is ALL_FXO. This must be true because all dialpeers outbound have ALL_FXO as well and calls work.

Im wondering when the outbound call leg is established there is a codec g711 command on dial peer 1000 - even though inbound call matches dial peer 0, would it even matter since it matches outbound dial peer 1000 on its way to AA and gets its codec there?

dial-peer voice 1000 voip

description Communications Manager Calling

destination-pattern 600

session target ipv4:x.x.x.x

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

BUT still dont know why dial peer 0 is matching inbound!  Does the direct-inward-dial have to match the incoming called number . on the same dialpeer?

Would this work instead?

dial-peer voice 1 pots
 incoming called-number 600
 direct-inward-dial

Hi Johnsnow,

My understanding is if it is an FXO you dont need a dial-peer to match incoming call because it's already taken care of the connection plar opx under the voice-port. Try removing the dial-peer voice 1 pots and make a call. Without that the call should still work.

Please rate replies and mark question as "answered" if applicable.

Thanks, I have not thought about that on the PLAR. I will have to play with that configuration.

I tested some calls again and could see the call end to end successfully. I found out during this troubleshooting there was no AA application on the other end, it was terminating to UC mailbox. So the outbound call leg to CM dial peer gets used in this case and uses the g711 codec, no vad configuration as configured so that is what I wanted to see.

Regards,

John