[Asterisk-Users] Dialing out through a Hardware PBX

Don Pobanz dpobanz at hastingsutilities.com
Thu Jun 12 06:55:40 MST 2003


I use to do this before we got phone company lines into our * system. I 
can't remember the exact syntax but it was something like:

Dial(Zap/g3/9ww0777701338|20|t)

where w stands for wait. You may need to add more than one w if it 
takes longer to get the dialtone. Attach a high impedance monitor to 
the phone line you are dialing out on if you need to listen to call 
progress.

Don Pobanz

On Thursday, June 12, 2003 5:53 AM, wasim at convergence.com.pk 
[SMTP:wasim at convergence.com.pk] wrote:
> use Flash and SendDTMF to talk to dumb pbxs, Flash'll only work on 
ZAP
>
> channels though...
>
> 	exten => 0,1,Flash
> 	exten => 0,2,SendDTMF(2)
> 	exten => 0,3,Wait(1)
> 	exten => 0,4,SendDTMF(123123123)
> 	exten => 0,5,Hangup
>
>  -wasim
>
> On Thu, 12 Jun 2003, Steven Critchfield wrote:
>
> > On Thu, 2003-06-12 at 03:53, Siggi Langauf wrote:
> > > On Wed, 11 Jun 2003 surajee at infotechs.lk wrote:
> > >
> > > > our Asterisk pbx is sitting behind a normal analog hardware 
pbx,
> > > > we have
> > > > to dial 9
> > > > to take an outside call through the hardware pbx, our fxo
> > > > interface is
> > > > also connected
> > > > to one of the extensions of it. we can make calls to internal
> > > > hardware
> > > > pbx extensions
> > > > by dialing through the fxo interface using Dial function, for
> > > > ex.
> > > > Dial(Zap/g3/599|20|t)
> > > >
> > > > but we also want make calls to outside by first dialing 9, and
> > > > then
> > > > dialing the number.
> > > > is there any possiblity that asterisk can make calls like that,
> > > > ie, first
> > > > dialing 9, and then
> > > > wait for the dial tone and then dialing the number?
> > > > how do i pause between 9 and the telephone number, will comma
> > > > ( , ) do
> > > > the job?
> > > > for ex. will Dial(Zap/g3/9,0777701338|20|t) will work? or else
> > > > pls let me
> > > > know a way to
> > > > do that.
> > >
> > > I'd suggest something like
> > >
> > > exten = _9.,1,Dial(Zap/g3/9|20|t)  ;dial "9" for outbound line
> > > exten = _9.,2,Wait(1)              ;wait 1s for dialtone, PBX may
> > > take longer
> > > exten = _9.,3,SendDTMF(${EXTEN:1}) ;send remaining digits as DTMF
> >
> > This won't work due to the fact that the dial won't return till you
> > hangup. Remember dial will bridge the channels.




More information about the asterisk-users mailing list