From 7a3c67f6c594fd7456e66b7717c770b834f9b04b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 28 Mar 2023 12:49:46 -0600 Subject: [PATCH] Preserve the fax_result_code and set USER_BUSY --- .../resources/scripts/app/fax/resources/scripts/hangup_rx.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scripts/resources/scripts/app/fax/resources/scripts/hangup_rx.lua b/app/scripts/resources/scripts/app/fax/resources/scripts/hangup_rx.lua index b536b92354..fcff7dbf82 100644 --- a/app/scripts/resources/scripts/app/fax/resources/scripts/hangup_rx.lua +++ b/app/scripts/resources/scripts/app/fax/resources/scripts/hangup_rx.lua @@ -163,11 +163,10 @@ --set default values if (not fax_success) then fax_success = "0"; - fax_result_code = 2; end if (hangup_cause_q850 == "17") then fax_success = "0"; - fax_result_code = 2; + fax_result_text = "USER_BUSY"; end if (not fax_result_text) then fax_result_text = "FS_NOT_SET";