[asterisk-users] Timeouts not working

Richard Trenchard richard.trenchard at toolstation.com
Thu Mar 8 02:34:02 MST 2007


Hi all

I have a problem when im trying to configure a hunt group on zap channel.

here is the part of my extension.conf  that  not working.


exten => s,1,Answer
exten => s,2,Dial(SIP/01278******@xifos,10,Tt)
exten => s,3,GotoIf($[$[${DIALSTATUS} = "CHANUNAVAIL"] | $[${DIALSTATUS} 
= "CONGESTION"] ]?4)
exten => s,4,Dial(Zap/4/901278******|10)
exten => s,5,Playback('connect-oncall-eng');
exten => s,6,Dial(SIP/${GLOBAL($BridgwaterMB)}@xifos,20,Tt)
exten => s,7,GotoIf($[$[${DIALSTATUS} = "CHANUNAVAIL"] | $[${DIALSTATUS} 
= "CONGESTION"] ]?8)
exten => s,8,Dial(Zap/4/9w${GLOBAL($BridgwaterMB)}|20)
exten => s,9,Playback('connect-oncall-eng2')
exten => s,10,Dial(SIP/${GLOBAL($BristolMB)}@xifos,20,Tt)
exten => s,11,GotoIf($[$[${DIALSTATUS} = "CHANUNAVAIL"] | 
$[${DIALSTATUS} = "CONGESTION"] ]?12)
exten => s,12,Dial(Zap/4/9w${GLOBAL($BristolMB)}|20)
exten => s,n,Playback(hq)
exten => s,n,Goto(2)


Basically im using Zap/4 as a failover for a SIP trunk when thats not 
available

the problem is at s,4 it just dials that number and never times out

any ideas

Cheers

Richard Trenchard



More information about the asterisk-users mailing list