outbound_route_to_bridge simplify the dialplan detail SQL select.
This commit is contained in:
parent
da38cdac5a
commit
71eb9c5a6a
|
|
@ -807,4 +807,5 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
|
||||
//show the footer
|
||||
require_once "resources/footer.php";
|
||||
?>
|
||||
|
||||
?>
|
||||
|
|
@ -2029,8 +2029,7 @@ function outbound_route_to_bridge ($domain_uuid, $destination_number) {
|
|||
//get the extension number using the dialplan_uuid
|
||||
$sql = "select * ";
|
||||
$sql .= "from v_dialplan_details ";
|
||||
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
|
||||
$sql .= "and dialplan_uuid = '$dialplan_uuid' ";
|
||||
$sql .= "where dialplan_uuid = '$dialplan_uuid' ";
|
||||
$sql .= "order by dialplan_detail_order asc ";
|
||||
$sub_result = $db->query($sql)->fetchAll(PDO::FETCH_ASSOC);
|
||||
$regex_match = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue