Do not overwrite the fax_result_code

This commit is contained in:
FusionPBX 2023-03-28 12:21:59 -06:00 committed by GitHub
parent 2f37571b64
commit 366577891f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -16,7 +16,7 @@
--
-- The Initial Developer of the Original Code is
-- Mark J Crane <markjcrane@fusionpbx.com>
-- Copyright (C) 2015-2022
-- Copyright (C) 2015-2023
-- the Initial Developer. All Rights Reserved.
--
-- Contributor(s):
@ -164,11 +164,9 @@
--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