Hi, I am trying to forward calls from one cisco gateway to another cisco gateway using asterisk cisco(5300)A 192.168.1.1 asterisk 192.168.1.2 cisco(5300)B 192.168.1.3 pstn ------ciscoA-----asterisk ------ciscoB------pstn I have the below in my extension.conf [default] exten => _1905XXXXXXX,1,Dial,OH323/192.168.1.3 I keep getting error and I don't know what is wrong. I am able to see in my ciscoB accesslist, tcp packets are coming from 192.168.1.2 I get below error in my asterisk CLI Feb 5 16:17:01 ERROR[29716]: chan_oh323.c:1004 oh323_call: H323:0: Could not call 192.168.1.3. Feb 5 16:17:11 WARNING[29716]: pbx.c:1829 ast_pbx_run: Timeout, but no rule 't' in context 'default' It would be much appreciated if someone could point out what I am doing wrong or to any documentations. Many thanks. Regards, Anthony
Hi, Thanks for your reply. I am definite that my h323 is running on ciscoB because the below scenario is working fine. pstn----ciscoA-----ciscoB----pstn I have also eliminated access-list problem because if my access-list is applied I could see packets hiting my access-list permit tcp host 192.168.1.2 any eq 1720 (60 matches) Is my syntax below correct ?? exten => _1905XXXXXXX,1,Dial,OH323/192.168.1.3 Any help would be appreciated. Regards, Anthony ----- Original Message ----- From: "Tomica Crnek" <Tomica.Crnek@span.hr> To: <anthonyl@accessv.com> Sent: Friday, February 06, 2004 3:03 AM Subject: RE: [Asterisk-Users] question for oh323 users> > Hi, it seams to me that h.323 service on your cisco B could be down. You > see packets coming to this box, but did you activate h.323. Try "telnet > 192.168.1.3 1720" to see if it is running. If it is, then check to see > if you are allowing connections to it from 192.168.1.2 > > Tomica > > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Anthony Law > Sent: Thursday, February 05, 2004 10:41 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] question for oh323 users > > Hi, > > I am trying to forward calls from one cisco gateway to another cisco > gateway using asterisk > > cisco(5300)A 192.168.1.1 > asterisk 192.168.1.2 > cisco(5300)B 192.168.1.3 > > pstn ------ciscoA-----asterisk ------ciscoB------pstn > > I have the below in my extension.conf > > [default] > exten => _1905XXXXXXX,1,Dial,OH323/192.168.1.3 > > I keep getting error and I don't know what is wrong. > I am able to see in my ciscoB accesslist, tcp packets are coming from > 192.168.1.2 > > I get below error in my asterisk CLI > > Feb 5 16:17:01 ERROR[29716]: chan_oh323.c:1004 oh323_call: H323:0: > Could not call 192.168.1.3. > Feb 5 16:17:11 WARNING[29716]: pbx.c:1829 ast_pbx_run: Timeout, but no > rule 't' in context 'default' > > It would be much appreciated if someone could point out what I am doing > wrong or to any documentations. Many thanks. > > > Regards, > > > > Anthony > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Hi Gus, Thanks for your reply. I have tried below and still didn't work. exten => _1905XXXXXXX,1,Dial,OH323/h323:${EXTEN}@192.168.1.3 or exten => _1905XXXXXXX,1,Dial,OH323/${EXTEN}@192.168.1.3 and now asterisk gives out below error Feb 6 16:12:41 WARNING[30740]: pbx.c:1773 ast_pbx_run: Channel 'H323:8915' sent into invalid extension 's' in context 'default', but no invalid handler here is exactly what I have in extension.conf [general] static=yes writeprotect=no [default] include => demo [demo] exten => _1905XXXXXXX,1,Dial,OH323/${EXTEN}@192.168.1.2 Any idea? Regards, Anthony
Thanks very much Michael. It worked but only if I configure my cisco to use g711alaw. If I config my cisco to use default g729r8 it created the below Feb 9 15:37:59 WARNING[32788]: channel.c:1856 ast_channel_make_compatible: No path to translate from H323:9242(256) to H323:28967(8) Feb 9 15:37:59 WARNING[32788]: channel.c:2245 ast_channel_bridge: Can't make H323:9242 and H323:28967 compatible Feb 9 15:37:59 WARNING[32788]: res_parking.c:226 ast_bridge_call: Bridge failed on channels H323:9242 and H323:28967 Is it because I do not have the codec g729r8 in /usr/lib/asterik/modules ? I have format_g729.so. If thats the case where could I get the codec from?? oh323.conf [codecs] codec=G729 frames=2 codec=G711A frames=20 ;codec=GSM0610 ;frames=4 codec=G7231 frames=2 Thanks for your input. Regards, Anthony
Thanks very much Michael. It worked but only if I configure my cisco to use g711alaw. If I config my cisco to use default g729r8 it created the below Feb 9 15:37:59 WARNING[32788]: channel.c:1856 ast_channel_make_compatible: No path to translate from H323:9242(256) to H323:28967(8) Feb 9 15:37:59 WARNING[32788]: channel.c:2245 ast_channel_bridge: Can't make H323:9242 and H323:28967 compatible Feb 9 15:37:59 WARNING[32788]: res_parking.c:226 ast_bridge_call: Bridge failed on channels H323:9242 and H323:28967 Is it because I do not have the codec g729r8 in /usr/lib/asterik/modules ? I have format_g729.so. If thats the case where could I get the codec from?? oh323.conf [codecs] codec=G729 frames=2 codec=G711A frames=20 ;codec=GSM0610 ;frames=4 codec=G7231 frames=2 Thanks for your input. Regards, Anthony