mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Show only defined call groups
This commit is contained in:
@@ -530,6 +530,7 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
|
||||
if ($select_type == "dialplan" || $select_type == "ivr") {
|
||||
$sql = "select distinct(call_group) from v_extensions ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "and call_group <> '' ";
|
||||
$sql .= "order by call_group asc ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
|
||||
Reference in New Issue
Block a user