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

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