[Asterisk-Users] Would this work?

Chris Shaw chriss at watertech.com
Mon Jun 28 15:15:10 MST 2004


MessageIf I am understanding your dialplan snippet correctly, you simply
want * to call extensions in a linear (or even round robin) fashion, ringing
the first one that's not busy correct? This functionality is built directly
into * and needs no special dialplan to implement. Please check the Wiki or
This list about Grouping Zap channels...


----- Original Message -----
From: AstGrp
To: asterisk-users at lists.digium.com
Sent: Monday, June 28, 2004 12:01 PM
Subject: [Asterisk-Users] Would this work?


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




More information about the asterisk-users mailing list