Bug fix send fax to a local extension

This commit is contained in:
FusionPBX
2024-05-03 13:13:51 -06:00
committed by GitHub
parent 58d2a9d754
commit f30180d2b7

View File

@@ -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