mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-07 20:23:51 +00:00
Always update the fax_status
We want to show fax_status to be updated to show busy if the call was busy.
This commit is contained in:
@@ -339,13 +339,11 @@
|
||||
dbh:query(sql, params);
|
||||
|
||||
--update the email queue status
|
||||
if (fax_success == '1') then
|
||||
sql = "update v_fax_queue ";
|
||||
sql = sql .. "set fax_status = :fax_status, fax_log_uuid = :fax_log_uuid ";
|
||||
sql = sql .. "where fax_queue_uuid = :fax_queue_uuid ";
|
||||
local params = {fax_queue_uuid = fax_queue_uuid, fax_status = 'sent', fax_log_uuid = uuid}
|
||||
dbh:query(sql, params);
|
||||
end
|
||||
sql = "update v_fax_queue ";
|
||||
sql = sql .. "set fax_status = :fax_status, fax_log_uuid = :fax_log_uuid ";
|
||||
sql = sql .. "where fax_queue_uuid = :fax_queue_uuid ";
|
||||
local params = {fax_queue_uuid = fax_queue_uuid, fax_status = fax_status, fax_log_uuid = uuid}
|
||||
dbh:query(sql, params);
|
||||
|
||||
--prepare base64
|
||||
if (storage_type == "base64") then
|
||||
|
||||
Reference in New Issue
Block a user