What steps will reproduce the problem?
1. Go to add an agent to a queue
2. In the Contact dropdown field Extensions is missing
In revision 4774 a new if condition seems to have been added at line to
resources/switch.php 701:
if ($select_type == "dialplan" || $select_type == "ivr") { <<<<<<<<
$sql = "select * from v_extensions ";
$sql .= "where domain_uuid = '$domain_uuid' ";
$sql .= "and enabled = 'true' ";
$sql .= "order by extension asc ";
$prep_statement = $db->prepare(check_sql($sql));
$prep_statement->execute();
$result = $prep_statement->fetchAll(PDO::FETCH_ASSOC);
if ($select_type == "dialplan" || $select_type == "ivr" || $select_type == "call_center_contact") {
echo "<optgroup label='Extensions'>\n";
}
This does not include any match for $select_type equalling call_center_contact.
Original issue reported on code.google.com by Digitald...@gmail.com on 26 Nov 2013 at 11:08
Original issue reported on code.google.com by
Digitald...@gmail.com
on 26 Nov 2013 at 11:08