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
This commit is contained in:
Mark Crane 2012-07-19 04:33:42 +00:00
parent 47905bde78
commit f2f1da1049
1 changed files with 1 additions and 0 deletions

View File

@ -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();