From e07c37795f9e0ecb77cb468cb2664fcef4e695b5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 21 Apr 2022 17:02:39 -0600 Subject: [PATCH] Update the FAX message --- app/fax/fax_send.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/fax/fax_send.php b/app/fax/fax_send.php index 3f20ace5e1..71ecc7652f 100644 --- a/app/fax/fax_send.php +++ b/app/fax/fax_send.php @@ -750,6 +750,9 @@ if (!function_exists('fax_split_dtmf')) { //remove temporary permisison $p->delete('fax_queue_add', 'temp'); + + //add message to show in the browser + message::add($text['confirm-queued']); } else { //send the fax directly @@ -761,6 +764,9 @@ if (!function_exists('fax_split_dtmf')) { $uuid = str_replace("+OK ", "", $response); } fclose($fp); + + //add message to show in the browser + message::add($text['confirm-sent']." ".$response); } } @@ -775,10 +781,9 @@ if (!function_exists('fax_split_dtmf')) { //redirect the browser if (!$included && is_uuid($fax_uuid)) { - message::add($response, 'default'); if ($_SESSION['fax_queue']['enabled']['boolean']) { //header("Location: ".PROJECT_PATH."/app/fax_queue/fax_queue.php?id=".$fax_uuid); - header("Location: ".PROJECT_PATH."/app/fax/fax.php"); + header("Location: ".PROJECT_PATH."fax.php"); } else { header("Location: fax_files.php?id=".$fax_uuid."&box=sent");