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: [EMAIL PROTECTED]
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

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to