Remote H.323 VOIP Dial Peer - sending calls to Host GW fails

Unanswered Question
Mar 30th, 2010

I am attempting to route calls from a Remote GW to the Host GW, where the PRIs are terminated.

Remote - 2811

dial-peer voice 5 voip
description H323/SRST 1+ Long distance outbound dial via FORD GW
destination-pattern 91[2-9]..[2-9]......
modem passthrough nse codec g711ulaw
voice-class codec 1
voice-class h323 1
session target ipv4:172.30.248.193

Host - 2851

dial-peer voice 2 voip
tone ringback alert-no-PI
description For InBound H323 VoIP
modem passthrough nse codec g711ulaw
voice-class codec 1
voice-class h323 1
incoming called-number .
dtmf-relay h245-alphanumeric
fax rate disable
no vad

dial-peer voice 6 pots
description H323/SRST 1+ Long distance outbound dial peer via PRI 1
preference 1
destination-pattern 91[2-9]..[2-9]......
progress_ind setup enable 3
progress_ind progress enable 8
progress_ind connect enable 8
port 0/0/0:23
forward-digits 11

The peer matches fine and then progresses to the Host GW. The call is processed and goes out the PRI. The phone receiving the call rings. The IP phone placing the call hears ringing. The calls then goes dead. The IP phone hears a busy signal and the receiving call just stops ringing. 2 rings tops.

Remote - debug voip ccapi

ar 30 12:42:27.566: //-1/00FA17A72C00/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=2766471775
   ----- ccCallInfo IE subfields -----
   cisco-ani=2766471775
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=912147322849
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   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

Mar 30 12:42:27.570: //-1/00FA17A72C00/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x46DF4820, Call Info(
   Calling Number=2766471775,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=912147322849(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=3, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=97
Mar 30 12:42:27.570: //-1/00FA17A72C00/CCAPI/ccCheckClipClir:
   In: Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Mar 30 12:42:27.570: //-1/00FA17A72C00/CCAPI/ccCheckClipClir:
   Out: Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Mar 30 12:42:27.570: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.570: :cc_get_feature_vsa malloc success
Mar 30 12:42:27.570: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.570:  cc_get_feature_vsa count is 1
Mar 30 12:42:27.570: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.570: :FEATURE_VSA attributes are: feature_name:0,feature_time:1203281152,feature_id:97
Mar 30 12:42:27.570: //97/00FA17A72C00/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=912147322849(TON=Unknown, NPI=Unknown))
Mar 30 12:42:27.574: //97/00FA17A72C00/CCAPI/cc_process_call_setup_ind:
   Event=0x474A2028
Mar 30 12:42:27.574: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 912147322849
Mar 30 12:42:27.578: //97/00FA17A72C00/CCAPI/ccCallSetContext:
   Context=0x480334A4
Mar 30 12:42:27.578: //97/00FA17A72C00/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 97 with tag 3 to app "_ManagedAppProcess_Default"
Mar 30 12:42:27.578: //97/00FA17A72C00/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=TRUE, Mode=0,
   Outgoing Dial-peer=5, Params=0x480343B4, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccCheckClipClir:
   In: Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccCheckClipClir:
   Out: Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, P
r1.martinsville-SUB.nelson#assed, Presentation=Allowed)
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccCallSetupRequest:
   Destination Pattern=91[2-9]..[2-9]......, Called Number=912147322849, Digit Strip=FALSE
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccCallSetupRequest:
   Calling Number=2766471775(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=912147322849(TON=Unknown, NPI=Unknown),
   Redirect Number=, Display Info=
   Account Number=2766471775, Final Destination Flag=TRUE,
   Guid=00FA17A7-AD2A-21BB-2C00-920101191F0D, Outgoing Dial-peer=5
Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/cc_api_display_ie_subfields:
   ccCallSetupRequest:
   cisco-username=2766471775
   ----- ccCallInfo IE subfields -----
   cisco-ani=2766471775
   cisco-anitype=2
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=912147322849
   cisco-desttype=0
   cisco-destplan=0
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   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

Mar 30 12:42:27.582: //97/00FA17A72C00/CCAPI/ccIFCallSetupRequestPrivate:
   Interface=0x46DF4820, Interface Type=1, Destination=, Mode=0x0,
   Call Params(Calling Number=2766471775,(Calling Name=)(TON=National, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=912147322849(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
   Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=5, Call Count On=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Mar 30 12:42:27.586: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.586: :cc_get_feature_vsa malloc success
Mar 30 12:42:27.586: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.586:  cc_get_feature_vsa count is 2
Mar 30 12:42:27.586: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 30 12:42:27.586: :FEATURE_VSA attributes are: feature_name:0,feature_time:1203280928,feature_id:98
Mar 30 12:42:27.586: //98/00FA17A72C00/CCAPI/ccIFCallSetupRequestPrivate:
   SPI Call Setup Request Is Success; Interface Type=1, FlowMode=1
Mar 30 12:42:27.586: //98/00FA17A72C00/CCAPI/ccCallSetContext:
   Context=0x48034364
Mar 30 12:42:27.586: //97/00FA17A72C00/CCAPI/ccSaveDialpeerTag:
   Outgoing Dial-peer=5
Mar 30 12:42:27.594: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event=92, Call Id=98
Mar 30 12:42:27.594: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event Is Sent To Conferenced SPI(s) Directly
Mar 30 12:42:27.614: //98/00FA17A72C00/CCAPI/cc_api_call_proceeding:
   Interface=0x46DF4820, Progress Indication=NULL(0)
Mar 30 12:42:27.614: //98/00FA17A72C00/CCAPI/ccIsInfoRingback:
   Returning dpRingBack=0
Mar 30 12:42:27.614: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event=159, Call Id=98
Mar 30 12:42:27.614: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event Is Sent To Conferenced SPI(s) Directly
Mar 30 12:42:27.614: //98/00FA17A72C00/CCAPI/cc_api_call_proceeding:
   Interface=0x46DF4820, Progress Indication=NULL(0)
Mar 30 12:42:28.338: //98/00FA17A72C00/CCAPI/ccIsInfoRingback:
   Returning dpRingBack=0
Mar 30 12:42:28.338: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event=159, Call Id=98
Mar 30 12:42:28.338: //98/00FA17A72C00/CCAPI/cc_api_event_indication:
   Event Is Sent To Conferenced SPI(s) Directly
Mar 30 12:42:28.338: //98/00FA17A72C00/CCAPI/cc_api_call_alert:
   Interface=0x46DF4820, Progress Indication=INBAND(8), Signal Indication=INTERCEPT(2)
Mar 30 12:42:28.338: //98/00FA17A72C00/CCAPI/cc_api_call_alert:
   Call Entry(Retry Count=0, Responsed=TRUE)
Mar 30 12:42:28.338: //97/00FA17A72C00/CCAPI/ccCallAlert:
   Progress Indication=INBAND(8), Signal Indication=INTERCEPT(2)
Mar 30 12:42:28.338: //97/00FA17A72C00/CCAPI/ccCallAlert:
   Call Entry(Responsed=TRUE, Alert Sent=TRUE)
Mar 30 12:42:28.342: //98/00FA17A72C00/CCAPI/cc_api_get_called_ccm_detected:
   CallInfo(ccm detected=0)
Mar 30 12:42:28.342: //97/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   (confID=0x47E39FB8, callID1=0x61, callID2=0x62, tag=0x0)
Mar 30 12:42:28.342: //97/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   (confID=0x47E39FB8, callID1=0x61, gcid=0-0-0-0, tag=0x0)
Mar 30 12:42:28.342: //98/xxxxxxxxxxxx/CCAPI/ccConferenceCreate:
   (confID=0x47E39FB8, callID2=0x62, gcid=0-0-0-0, tag=0x0)
Mar 30 12:42:28.342: //97/00FA17A72C00/CCAPI/ccConferenceCreate:
   Conference Id=0x47E39FB8, Call Id1=97, Call Id2=98, Tag=0x0
Mar 30 12:42:28.342: //97/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Mar 30 12:42:28.342: cc_api_get_xcode_stream : 4452
Mar 30 12:42:28.342: //97/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=97,
   Destination Call Id=98, Disposition=0x0, Tag=0x0
Mar 30 12:42:28.342: //98/xxxxxxxxxxxx/CCAPI/cc_api_get_xcode_stream:

Mar 30 12:42:28.342: cc_api_get_xcode_stream : 4452
Mar 30 12:42:28.342: //98/xxxxxxxxxxxx/CCAPI/cc_api_bridge_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=98,
   Destination Call Id=97, Disposition=0x0, Tag=0x0
Mar 30 12:42:28.342: //97/00FA17A72C00/CCAPI/cc_generic_bridge_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=98,
   Destination Call Id=97, Disposition=0x0, Tag=0x0
Mar 30 12:42:28.342: //97/00FA17A72C00/CCAPI/ccConferenceCreate:
   Call Entry(Conference Id=0x20, Destination Call Id=98)
Mar 30 12:42:28.342: //98/00FA17A72C00/CCAPI/ccConferenceCreate:
   Call Entry(Conference Id=0x20, Destination Call Id=97)
Mar 30 12:42:28.342: //97/00FA17A72C00/CCAPI/cc_process_notify_bridge_done:
   Conference Id=0x20, Call Id1=97, Call Id2=98
Mar 30 12:42:28.342: //97/00FA17A72C00/CCAPI/cc_api_get_delay_xport:
   CallInfo(delay xport=FALSE)
Mar 30 12:42:28.350: //98/00FA17A72C00/CCAPI/cc_api_call_notify:
   Data Bitmask=0x7, Interface=0x46DF4820, Call Id=98
Mar 30 12:42:28.350: //97/00FA17A72C00/CCAPI/ccCallNotify:
   Data Bitmask=0x7, Call Id=97
Mar 30 12:42:28.350: //98/00FA17A72C00/CCAPI/cc_api_get_called_ccm_detected:
   CallInfo(ccm detected=0)
Mar 30 12:42:28.354: //98/00FA17A72C00/CCAPI/cc_api_get_ssCTreRoutingNotSupported:
   CallInfo(ssCTreRoutingNotSupported=FALSE)
Mar 30 12:42:28.354: //98/00FA17A72C
r1.martinsville-SUB.nelson#00/CCAPI/cc_api_get_ccm_detected:
   CallInfo(ccm detected=TRUE)
Mar 30 12:42:28.354: //97/00FA17A72C00/CCAPI/ccCallNotify:
   Data Bitmask=0x7, Call Id=97
Mar 30 12:42:28.354: //98/00FA17A72C00/CCAPI/cc_api_get_called_ccm_detected:
   CallInfo(ccm detected=0)
r1.martinsville-SUB.nelson#
Mar 30 12:42:38.366: //97/00FA17A72C00/CCAPI/cc_api_call_disconnected:
   Cause Value=47, Interface=0x46DF4820, Call Id=97
Mar 30 12:42:38.366: //97/00FA17A72C00/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=47, Retry Count=0)
Mar 30 12:42:38.366: //97/00FA17A72C00/CCAPI/ccConferenceDestroy:
   Conference Id=0x20, Tag=0x0
Mar 30 12:42:38.366: //97/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=97,
   Destination Call Id=98, Disposition=0x0, Tag=0x0
Mar 30 12:42:38.366: //98/xxxxxxxxxxxx/CCAPI/cc_api_bridge_drop_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=98,
   Destination Call Id=97, Disposition=0x0, Tag=0x0
Mar 30 12:42:38.366: //97/00FA17A72C00/CCAPI/cc_generic_bridge_done:
   Conference Id=0x20, Source Interface=0x46DF4820, Source Call Id=98,
   Destination Call Id=97, Disposition=0x0, Tag=0x0
Mar 30 12:42:38.370: //98/00FA17A72C00/CCAPI/ccCallDisconnect:
   Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)
Mar 30 12:42:38.370: //98/00FA17A72C00/CCAPI/ccCallDisconnect:
   Cause Value=47, Call Entry(Responsed=TRUE, Cause Value=47)
Mar 30 12:42:38.370: //98/00FA17A72C00/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Mar 30 12:42:38.370: //97/00FA17A72C00/CCAPI/ccCallDisconnect:
   Cause Value=47, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=47)
Mar 30 12:42:38.370: //97/00FA17A72C00/CCAPI/ccCallDisconnect:
   Cause Value=47, Call Entry(Responsed=TRUE, Cause Value=47)
Mar 30 12:42:38.370: //97/00FA17A72C00/CCAPI/cc_api_get_transfer_info:
   Transfer Number Is Null
Mar 30 12:42:38.374: //98/00FA17A72C00/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x46DF4820, Tag=0x0, Call Id=98,
   Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)
Mar 30 12:42:38.374: //98/00FA17A72C00/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Mar 30 12:42:38.374: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar 30 12:42:38.374: :cc_free_feature_vsa freeing 47B89C18
Mar 30 12:42:38.374: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar 30 12:42:38.374:  vsacount in free is 1
Mar 30 12:42:38.378: //97/00FA17A72C00/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x46DF4820, Tag=0x0, Call Id=97,
   Call Entry(Disconnect Cause=47, Voice Class Cause Code=0, Retry Count=0)
Mar 30 12:42:38.378: //97/00FA17A72C00/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
r1.martinsville-SUB.nelson#
Mar 30 12:42:38.378: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar 30 12:42:38.378: :cc_free_feature_vsa freeing 47B89CF8
Mar 30 12:42:38.378: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

Mar 30 12:42:38.378:  vsacount in free is 0

Interestingly, I have used

voice class codec 1

codec preference 1 g711ulaw

On my DP yet, I still see this:

show dial-peer voice 5 | i codec
        modem transport = passthrough, nse, payload type = 100, codec = g711ulaw, ,
        voice-class codec = 1
        codec = g729r8,   payload size =  20 bytes,
        video codec = None
        voice class codec = 1

I am not sure why the router is defaulting out my DP to 729?

I have triple checked all of my Regions. They are all set to g711.

I have gone as far a setting up a new region that uses only g729.

The call still fails.

Ideas anyone?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Brandon Buffin Tue, 03/30/2010 - 09:57

The default for voip dial peers is g.729. Add the command "codec g711ulaw" to the voip dial peers on both gateways.

Hope this helps.

Brandon

adrianstuart Tue, 03/30/2010 - 10:03

I did try that as well. Still fails.

Which brings up an interesting point.

When voice-class codec 1 is applied to the DP, why doesn't it do anything?

Brandon Buffin Tue, 03/30/2010 - 10:12

Do you want 711 or 729? I notice that you said "I have gone as far a setting up a new region that uses only g729". Also noticed that the incoming dial peer on the remote gateway is dial peer 3. What is the config for dial peer 3?

Brandon

adrianstuart Tue, 03/30/2010 - 10:34

Remote

dial-peer voice 3 voip
tone ringback alert-no-PI
description For InBound H323 VoIP
modem passthrough nse codec g711ulaw
voice-class codec 1
voice-class h323 1
incoming called-number .
dtmf-relay h245-alphanumeric
fax rate disable
no vad

Currently, I am under the impression that the call is failing due to a Codec mismatch. I have searched out most of the output from the CCAPI debug.  It is my best guess. This is why I set up a new only g729 region. To be honest, I still don't really "know" why the call is failing.

I haven't tested inbound calls to the Remote side. This is only for outbound calls to the Host->PRI.

Brandon Buffin Tue, 03/30/2010 - 10:43

Try the following:

1. Add the command "codec g711ulaw" to all 3 voip dial peers

2. Change your region to use g.711

3. Make sure you have the following on the host:

voice service voip

allow-connections h323 to h323

Brandon

adrianstuart Tue, 03/30/2010 - 10:54

Made all the changes. Tested, still fails.

Made the same changes to the Host side. Still fails.

voice service voip

allow-connections h323 to h323

Was already present on both routers.

Actions

This Discussion