<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> </div>
<div>bp<br><br> </div>
<div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Miles Scruggs</b> <<a href="mailto:asterisk@garnetweb.com">asterisk@garnetweb.com</a>> 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> dial($ext1&$ext3)<br>}elseif($ext2) {<br> dial($ext2&$ext3)<br>}else{<br> 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> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>