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.
This commit is contained in:
FusionPBX 2023-05-30 09:33:24 -06:00 committed by GitHub
parent f7dac01eaa
commit a4ad93632d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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';
}