[Asterisk-Users] dial timeout not working

Lance Arbuckle asterisk at arbuckle.org
Sat Feb 7 13:42:48 MST 2004


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



More information about the asterisk-users mailing list