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 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 <<a href="mailto:stucchi@willystudios.com">stucchi@willystudios.com</a>>:
</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>> Hi folks,<br>> very stupid question, how do I setup a Dial with multiple Zap choises?
<br>> I've setup this, but maybe is wrong:<br>> ------------------------------------------------<br>> exten => _7653.,1,SetCallerID(${CALLERID(number)})<br>> exten => _7653.,2,Dial(Zap/g2/${EXTEN})<br>> exten => _7653.,3,Dial(Zap/g4/${EXTEN})
<br>> exten => _7653.,101,Congestion<br>> ------------------------------------------------<br>> what I want to do is that as soon as lines are not available on g2, all<br>> others outgoing calls must go to g4.
<br>> Should be very easy, but it do not work.<br>> If the configuration is correct, then I must check the PRI.<br>><br><br>It should be like this:<br><br>exten => _7653.,1,SetCallerID(${CALLERID(number)})<br>
exten => _7653.,2,ChanIsAvail(Zap/g2)<br>exten => _7653.,3,Dial(Zap/g2/${EXTEN})<br>exten => _7653.,103,Dial(Zap/g4/${EXTEN})<br>exten => _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> <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:.