Re: [Asterisk-Users] H.323 Gateway Connection

2003-07-02 Thread Szymon Czyz
Hi Justin,

Try:

exten=242,1,Dial(h323/[EMAIL PROTECTED])


Regards,

Szymon Czyz

Justin Eckhouse [EMAIL PROTECTED] 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 nave 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
 [EMAIL PROTECTED]
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 





___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] H.323 Gateway Connection

2003-07-01 Thread Justin Eckhouse
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] H.323 Gateway Connection

2003-07-01 Thread asterisk
exten = _91XX,1,Dial(H323/${EXTEN:[EMAIL PROTECTED])

${EXTEN:1} will grab all the digits you sent in 91XX 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


Re: [Asterisk-Users] H.323 Gateway Connection

2003-07-01 Thread Jeremy McNamara
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/[EMAIL PROTECTED]) is the proper 
format.



Jeremy McNamara



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users