Hi, I'm trying to setup Asterisk to allow users to dial out to the PSTN using a remote box supporting h.323. I'm using chan_h323.so, and I'm able to make outbound calls to a client like netmeeting with a line like this: exten => 242,1,Dial(h323/xxx.xxx.xxx.xxx) And I'm able to receive incoming calls to asterisk. However I'm not sure how to route calls to the remote h.323 gateway. In my na?ve state I've tried something like this (xxx is the IP of the h.323 gw): exten => 244,1,Dial(h323/xxx.xxx.xxx.xxx/PSTN-NUMBER-HERE) When I dial 244, nothing happens, this appears in the console: -- Called xxx.xxx.xxx.xxx == No one is available to answer at this time Any pointers in the right direction would be greatly appreciated. Thanks, Justin
exten => _91XXXXXXXXXX,1,Dial(H323/${EXTEN:1}@10.0.1.5) ${EXTEN:1} will grab all the digits you sent in 91XXXXXXXXXX and the :1, in ${EXTEN:1}, tells it to drop the first digit. Michael>I'm trying to setup Asterisk to allow users to dial out to the PSTN using a >remote box supporting h.323. I'm using chan_h323.so, and I'm able to make >outbound calls to a client like netmeeting with a line like this: > >exten => 242,1,Dial(h323/xxx.xxx.xxx.xxx) > >And I'm able to receive incoming calls to asterisk. However I'm not sure >how >to route calls to the remote h.323 gateway. In my na?ve state I've tried >something like this (xxx is the IP of the h.323 gw): > >exten => 244,1,Dial(h323/xxx.xxx.xxx.xxx/PSTN-NUMBER-HERE) >
Justin Eckhouse wrote:>exten => 244,1,Dial(h323/xxx.xxx.xxx.xxx/PSTN-NUMBER-HERE) > >This is bad... if you use this kind of exten line PSTN-NUMBER-HERE will be the H.323ID Asterisk will use to make the call. exten => 244,1,Dial(h323/PSTN-NUMBER-HERE@xxx.xxx.xxx.xxx) is the proper format. Jeremy McNamara
Hi Justin, Try: exten=>242,1,Dial(h323/PSTN-NUMBER-HERE@xxx.xxx.xxx.xxx) Regards, Szymon Czyz "Justin Eckhouse" <justin@vergeworks.com> wrote:> Hi, > > I'm trying to setup Asterisk to allow users to dial out to the PSTN using a > remote box supporting h.323. I'm using chan_h323.so, and I'm able to make > outbound calls to a client like netmeeting with a line like this: > > exten => 242,1,Dial(h323/xxx.xxx.xxx.xxx) > > And I'm able to receive incoming calls to asterisk. However I'm not sure how > to route calls to the remote h.323 gateway. In my na?ve state I've tried > something like this (xxx is the IP of the h.323 gw): > > exten => 244,1,Dial(h323/xxx.xxx.xxx.xxx/PSTN-NUMBER-HERE) > > When I dial 244, nothing happens, this appears in the console: > > -- Called xxx.xxx.xxx.xxx > == No one is available to answer at this time > > Any pointers in the right direction would be greatly appreciated. > > Thanks, > Justin > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >