exten => _91XXXXXXXXXX,1,Dial(H323/${EXTEN:[EMAIL PROTECTED])
${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)
>
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users