* Add a deleted messages option to voicemail.
Messages are only deleted after a certain amount of time instead of immediately.
The queue can be turned off or on with default setting "use_deletion_queue" in the "voicemail" category.
Changed deleted phrase and add a deleted messages count phrase
Added a program to delete messages that are due for deletion. Also small changes to phrases.
* Added a remove_deleted_messages function that runs on voicemail main menu login. With this method the deletion queue is handled per mailbox vs system wide as in the cron triggered script. It also allows to adjust the retention hours on a per domain basis.
* Fix bug in remove_deleted_messages SQL that caused it too fail.
* Update app_config.php
* Update remove_deleted_messages.lua
* Fix a bug that hangs the call on vm login if there is a deleted message to remove.
When a setting is modified, the settings cache can be reloaded allowing the setting that was modified or added to take immediate effect. The call to allow any other clear cache methods to be called will allow any new features to have their settings also take effect. The settings are first cleared though so that any of the other classes that may require updated settings to work with, ensure that they have the newest default setting values.
* Fix plugin class name mismatch in auto loader
When matching the file name of the plugins in the authentication plugin folder they do not match. This causes auto loader not to find and load the class.
* Update auto_loader.php
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>
This pull request fixes the code for adding extensions and a device is added to the extension.
These device fields are populated if they are defined and enabled in default setttings. This works if the data types = text (the default) and it works if the data types = array (very useful for server clusters)
- Check the outbound_proxy_primary and outbound_proxy_secondary default value for an array value so the drop-down field on the device edit page can be filled.
- Use a variable to get the value from the settings class for server_address_primary and server_address_secondary instead of calling the settings class three times for each value.
Use the permission_exists and is_uuid conditions at the top of the download class method. If false use return to prevent running code without the right permission and a valid uuid.