From a4ad93632d299775973c6cfe5fc34e1a7e611120 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 30 May 2023 09:33:24 -0600 Subject: [PATCH] FAX status busy increment count It turns out most of the busies are a bad number. So we need to increment the value and eventually stop retrying. --- app/fax_queue/resources/job/fax_send.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fax_queue/resources/job/fax_send.php b/app/fax_queue/resources/job/fax_send.php index ba38e9bb70..68223b0cae 100644 --- a/app/fax_queue/resources/job/fax_send.php +++ b/app/fax_queue/resources/job/fax_send.php @@ -278,12 +278,12 @@ if (!isset($fax_retry_count)) { $fax_retry_count = 0; } - elseif ($fax_status != 'busy') { + else { $fax_retry_count = $fax_retry_count + 1; } //determine if the retry count exceed the limit - if ($fax_status != 'sent' && $fax_status != 'busy' && $fax_retry_count > $retry_limit) { + if ($fax_status != 'sent' && $fax_retry_count > $retry_limit) { $fax_status = 'failed'; }