This commit fixes 2 issues:
1. The recording name was not preserved upon
rerecording
2. When selecting rerecord, the digit timeout would retain
the value of 100, preventing the user from selecting the recording
id
* Fix fax_queue to Email PDF Instead of TIF
Variables `$fax_file_tif` and `$fax_file_pdf` are missing a period before the extension so file_exists is always evaluating to false. Thus, TIF was always sent. Adds the period back into the path so the check works correctly.
NOTE: `$fax_file_tif` is completely unused and can be removed from this code for cleanup.
* Use single quotes.
* Add db field to v_fax_queue to link to fax log
* Add fax_duration field to v_fax_logs
Add fax duration to db to allow for logging of this data for fax email templates.
* Add new email variables to fax send
* Fix some logging variables and fax_log_uuid
Added back some missing session variables for the fax log.
Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.
* Update hangup_tx.lua
When the caller is a local extension to another location extension the caller ID in the follow-me-destinations dialplan sets the caller ID to the local extension number and then the VoIP provider doesn't accept the call. As long as the local extension has Outbound Caller ID set on their extension then the information is already correct.
- IN function block replace array with event to prevent a naming conflict.
- Reconnect to event socket if the connection is lost.
- Use condition if is_array around each foreach.
- Unset the database connection
- Use event socket variables and close the session before the loop
Permissions are there to show these however its is expected that these permissions will be assigned to a group rarely.
Considering removing the permissions and not import the records.
Missed calls are marked when the call is imported and in some cases near the end of the call. This simplifies the missed_call in reports and call detail records.