in zapata.conf:
group = 1
channel => 1,3,5,6
I create a zap group will all your lines and dial out using the zap group ie...
Dial(Zap/g1/${EXTEN})
By using the group it dials on the first available line.
If you want a more complex setup I have that as well.
I have an agi script that looks at the number dialed and determins if it is a local call if so, dial out the ZAP line, if all ZAP lines are busy dial out an IAX provider, I all IAX lines are busy, then roll to my SIP provider.
Took a bit to figure it all out and get working but it is very useful.
Jon
On Tue, 2006-06-27 at 16:27 -0400, Jim Lynch wrote:
I was hoping that rolling over to the next trunk would be simple, but it doesn't appear to be so, especially for a newbie. So I'm looking for a simple way where if I get a busy on the first outgoing trunk, I can do something to get connected to the next one. Perhaps something like the big boys do and dial 9 first? I'm guessing a custom dial plan might do that but I haven't figured out how to do it. I'm running [EMAIL PROTECTED] version 2.8 sounds right. (maybe that's asterisk 2.8) Can someone shed some light on a work around until I can figure out rollovers? Thanks, Jim. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
|
Jon Scottorn Systems Administrator The Possibility Forge, Inc. http://www.possibilityforge.com 435.635.0591 x.1004 |
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
