Account for fax_status busy

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

View File

@ -153,7 +153,7 @@
$sql .= "where hostname = :hostname ";
$sql .= "and ( ";
$sql .= " ( ";
$sql .= " (fax_status = 'waiting' or fax_status = 'trying') ";
$sql .= " (fax_status = 'waiting' or fax_status = 'trying' or fax_status = 'busy') ";
$sql .= " and (fax_retry_date is null or floor(extract(epoch from now()) - extract(epoch from fax_retry_date)) > :retry_interval) ";
$sql .= " ) ";
$sql .= " or ( ";