Hi Massimiliano,<br>thanks for your prompt reply. Unfortunately that solution seems to not work, but I not sure is your code, I'm starting to believe that&nbsp; this PRI, got some problems.<br>My system is in production, so I have to wait for more tests.
<br><br>In the meantime, I thank you so much.<br><br>FaberK aka Fabrizio<br><br><div><span class="gmail_quote">2006/2/22, Massimiliano Stucchi &lt;<a href="mailto:stucchi@willystudios.com">stucchi@willystudios.com</a>&gt;:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 220206, 12:54, FaberK wrote:<br>&gt; Hi folks,<br>&gt; very stupid question, how do I setup a Dial with multiple Zap choises?
<br>&gt; I've setup this, but maybe is wrong:<br>&gt; ------------------------------------------------<br>&gt; exten =&gt; _7653.,1,SetCallerID(${CALLERID(number)})<br>&gt; exten =&gt; _7653.,2,Dial(Zap/g2/${EXTEN})<br>&gt; exten =&gt; _7653.,3,Dial(Zap/g4/${EXTEN})
<br>&gt; exten =&gt; _7653.,101,Congestion<br>&gt; ------------------------------------------------<br>&gt; what I want to do is that as soon as lines are not available on g2, all<br>&gt; others outgoing calls must go to g4.
<br>&gt; Should be very easy, but it do not work.<br>&gt; If the configuration is correct, then I must check the PRI.<br>&gt;<br><br>It should be like this:<br><br>exten =&gt; _7653.,1,SetCallerID(${CALLERID(number)})<br>
exten =&gt; _7653.,2,ChanIsAvail(Zap/g2)<br>exten =&gt; _7653.,3,Dial(Zap/g2/${EXTEN})<br>exten =&gt; _7653.,103,Dial(Zap/g4/${EXTEN})<br>exten =&gt; _7653.,204,playtones(congestion)<br><br>Cheers<br>--<br><br>Massimiliano Stucchi
<br>WillyStudios.com<br><a href="mailto:stucchi@willystudios.com">stucchi@willystudios.com</a><br><a href="Http://www.willystudios.com/max/">Http://www.willystudios.com/max/</a><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>.:FaberK:.