From f2f1da104921936fd8e1871a24d6d3fa6d263e89 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 19 Jul 2012 04:33:42 +0000 Subject: [PATCH] In the outbound_route_to_bridge function the query should contain the condition dialplan_enabled=true: http://code.google.com/p/fusionpbx/issues/detail?id=279 --- includes/lib_switch.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/lib_switch.php b/includes/lib_switch.php index 662b4366f1..883e9f57ff 100644 --- a/includes/lib_switch.php +++ b/includes/lib_switch.php @@ -2197,6 +2197,7 @@ function outbound_route_to_bridge ($destination_number) { $sql = "select * from v_dialplans "; $sql .= "where domain_uuid = '".$domain_uuid."' "; $sql .= "and app_uuid = '8c914ec3-9fc0-8ab5-4cda-6c9288bdc9a3' "; + $sql .= "and dialplan_enabled = true "; $sql .= "order by dialplan_order asc "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute();