Preserve the fax_result_code and set USER_BUSY

This commit is contained in:
FusionPBX 2023-03-28 12:49:46 -06:00 committed by GitHub
parent d03fca2970
commit 7a3c67f6c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

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