[Asterisk-Users] dial timeout not working

Lance Arbuckle asterisk at arbuckle.org
Sat Feb 7 19:41:32 MST 2004


Brian West wrote:
> 
> well onces Zap/1-1 answers SIP/8006 the timeout doesn't matter it thinks
> its answered ( I bet this is an x100p isn' it)
> 
> bkw
> 
> On Sat, 7 Feb 2004, Lance Arbuckle wrote:
> 
> >
> > I've got a timeout set on a dial statement but I can't seem to get it to
> > work.  NO matter what the value is set to, the phone just rings and
> > rings and rings....
> >
> > exten => _9NXXXXXX,1,Dial(${PSTN}/${EXTEN:1}|${timeout})        ;dial
> > the number
> > exten => _9NXXXXXX,102,macro(dial-post-b,${EXTEN},${CFREF})     ;busy,
> > so go here
> > exten => _9NXXXXXX,2,macro(dial-post-u,${EXTEN},${CFREF})
> > ;unavailable, so go here
> >
> > I have set the timeout=15 and according to the console, the variable is
> > getting to the dial command ok.
> >
> >     -- Executing Dial("SIP/8006-5bcf", "Zap/g1/7771000|15") in new stack
> >     -- Called g1/7771000
> >     -- Zap/1-1 answered SIP/8006-5bcf
> >     -- Hungup 'Zap/1-1'
> >
> > Anybody know what I'm screwing up ??
> >
> > -Lance


Yup, it certainly is...
So why is Zap/1-1 "answering" the call that it's making instead of
waiting for the far end to answer ?

-Lance



More information about the asterisk-users mailing list