[Asterisk-Users] dial if

William Piper william.piper at gmail.com
Fri Jun 16 08:57:38 MST 2006


You can do this without needing an AGI.
Look here
http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+ChanIsAvail

bp


On 6/16/06, Miles Scruggs <asterisk at garnetweb.com> wrote:
>
> I want to setup a fragment of my dialplan to dial an ext at the same
> time as another, but only if the other is avalible for instance this
> sudo code
>
> var $ext1
> var $ext2
> var $ext3
>
>
> if ($ext1) {
>    dial($ext1&$ext3)
> }elseif($ext2)  {
>    dial($ext2&$ext3)
> }else{
>    dial($ext3)
> }
>
> Anyone know how I would accomplish this?
>
> Thanks
>
> Miles
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060616/493bfde0/attachment.htm


More information about the asterisk-users mailing list