mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user