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
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@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
Thank you... I guess I was making this harder than it need's to be...
-gcc
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Chris Shaw
Posted At: Monday, June 28, 2004 6:15 PM
Posted To: Asterisk User Group
Conversation: [Asterisk-Users] Would this work?
Subject: Re: [Asterisk-Users] Would this work?
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@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
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users