[Asterisk-Users] Would this work?

AstGrp astgrp at cwkb.com
Mon Jun 28 12:01:44 MST 2004


I am trying to implement a rollover of extensions.
 

exten => 3000,1,GotoIf($[${line1} = Congestion]?3:2)
exten => 3000,2,Dial(${line1},15,rt)
exten => 3000,3,GotoIf($[${line2} = Congestion]?5:4)
exten => 3000,4,Dial(${line2},15,rt)
exten => 3000,5,GotoIf($[${line3} = Congestion]?7:6)
exten => 3000,6,Dial(${line3},15,rt)
exten => 3000,7,GotoIf($[${line4} = Congestion]?1:8)
exten => 3000,8,Dial(${line4},15,rt)
exten => 3000,9,Hangup
 
The $line[x] represents a Zap Channel.
 
Thanks,
 
-gcc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040628/af11bf6a/attachment.htm


More information about the asterisk-users mailing list