[Asterisk-Users] dial if

Miles Scruggs asterisk at garnetweb.com
Thu Jun 15 22:27:35 MST 2006


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



More information about the asterisk-users mailing list