From f30180d2b7873d4ee4052520493633a5dfd74cf2 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 3 May 2024 13:13:51 -0600 Subject: [PATCH] Bug fix send fax to a local extension --- app/fax_queue/resources/job/fax_send.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/fax_queue/resources/job/fax_send.php b/app/fax_queue/resources/job/fax_send.php index a08a058c87..4d9c12a951 100644 --- a/app/fax_queue/resources/job/fax_send.php +++ b/app/fax_queue/resources/job/fax_send.php @@ -276,11 +276,7 @@ $route_array = outbound_route_to_bridge($domain_uuid, $fax_prefix . $fax_number, $channel_variables); if (count($route_array) == 0) { //send the internal call to the registered extension - $fax_uri = "user/".$fax_number."@".$domain_name; - } - else { - //send the external call - $fax_uri = $route_array[0]; + $route_array[] = "user/".$fax_number."@".$domain_name; } //set the origination uuid