Add a record option to the destination select list.

This commit is contained in:
Mark Crane 2014-03-21 06:34:55 +00:00
parent 571f5b912b
commit 7c715cb7db
1 changed files with 9 additions and 0 deletions

View File

@ -1480,6 +1480,15 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
if ($select_value == "menu-exec-app:transfer *411 XML ".$_SESSION["context"]) { $selected = "selected='selected'"; }
echo " <option value='menu-exec-app:transfer *411 XML ".$_SESSION["context"]."' $selected>company directory</option>\n";
}
//record
if ($select_type == "dialplan") {
if ($select_value == "transfer:*732 XML ".$_SESSION["context"]) { $selected = "selected='selected'"; }
echo " <option value='transfer:*732 XML ".$_SESSION["context"]."' $selected>record</option>\n";
}
if ($select_type == "ivr") {
if ($select_value == "menu-exec-app:transfer *732 XML ".$_SESSION["context"]) { $selected = "selected='selected'"; }
echo " <option value='menu-exec-app:transfer *732 XML ".$_SESSION["context"]."' $selected>record</option>\n";
}
//advanced
if (if_group("superadmin")) {
//answer