<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.10.1">
</HEAD>
<BODY>
What kind of line is being used?<BR>
<BR>
in zapata.conf:<BR>
<BR>
&nbsp;&nbsp; group = 1<BR>
&nbsp;&nbsp; channel =&gt; 1,3,5,6<BR>
<BR>
I create a zap group will all your lines and dial out using the zap group ie...<BR>
<BR>
&nbsp;&nbsp;&nbsp; Dial(Zap/g1/${EXTEN})<BR>
<BR>
By using the group it dials on the first available line.<BR>
<BR>
If you want a more complex setup I have that as well.&nbsp; <BR>
<BR>
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.<BR>
Took a bit to figure it all out and get working but it is very useful.<BR>
<BR>
Jon<BR>
<BR>
<BR>
<BR>
On Tue, 2006-06-27 at 16:27 -0400, Jim Lynch wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I was hoping that rolling over to the next trunk would be simple, but it </FONT>
<FONT COLOR="#000000">doesn't appear to be so, especially for a newbie.  So I'm looking for a </FONT>
<FONT COLOR="#000000">simple way where if I get a busy on the first outgoing trunk, I can do </FONT>
<FONT COLOR="#000000">something to get connected to the next one.  Perhaps something like the </FONT>
<FONT COLOR="#000000">big boys do and dial 9 first?  I'm guessing a custom dial plan might do </FONT>
<FONT COLOR="#000000">that but I haven't figured out how to do it.  I'm running asterisk@home </FONT>
<FONT COLOR="#000000">version 2.8 sounds right. (maybe that's asterisk 2.8)</FONT>

<FONT COLOR="#000000">Can someone shed some light on a work around until I can figure out </FONT>
<FONT COLOR="#000000">rollovers?</FONT>

<FONT COLOR="#000000">Thanks,</FONT>
<FONT COLOR="#000000">Jim.</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">--Bandwidth and Colocation provided by Easynews.com --</FONT>

<FONT COLOR="#000000">Asterisk-Users mailing list</FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000">&nbsp;&nbsp; <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-use</FONT>rs</A>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B><I><FONT SIZE="4"><FONT COLOR="#000080">Jon Scottorn</FONT></FONT></I></B><BR>
<I><FONT COLOR="#000080">Systems Administrator</FONT></I><BR>
<I><FONT COLOR="#000080">The Possibility Forge, Inc.</FONT></I><BR>
<I><FONT COLOR="#000080">http://www.possibilityforge.com</FONT></I><BR>
<I><FONT COLOR="#000080">435.635.0591 x.1004</FONT></I>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>