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

Reply via email to