Bug fixed to send fax to a local extension

This commit is contained in:
FusionPBX
2024-05-03 13:14:45 -06:00
committed by GitHub
parent 39b7ca7058
commit b0a0fa9ab1

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