<div>You can do this without needing an AGI. </div>
<div>Look here <a href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail</a></div>
<div>&nbsp;</div>
<div>bp<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Miles Scruggs</b> &lt;<a href="mailto:asterisk@garnetweb.com">asterisk@garnetweb.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I want to setup a fragment of my dialplan to dial an ext at the same<br>time as another, but only if the other is avalible for instance this
<br>sudo code<br><br>var $ext1<br>var $ext2<br>var $ext3<br><br><br>if ($ext1) {<br>&nbsp;&nbsp; dial($ext1&amp;$ext3)<br>}elseif($ext2)&nbsp;&nbsp;{<br>&nbsp;&nbsp; dial($ext2&amp;$ext3)<br>}else{<br>&nbsp;&nbsp; dial($ext3)<br>}<br><br>Anyone know how I would accomplish this?
<br><br>Thanks<br><br>Miles<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></blockquote></div><br>