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.
* Sort the 'sofia xmlstatus' profiles alphabetically
Added function to sort the 'sofia xmlstatus' SIP profiles alphabetically to match the sort order lower down in the page.
If permissions to dialplans is given to anyone other than superadmin then they should not be able to see GLOBAL dialpans unless they have dialplan_all permission as well.
* Update dialplans.php
* update auto loader to load and cache interfaces
* use new method to update the auto loader cache
* use new interface
* use new interface to trigger a cache flush
* update the console upgrade menu
* update the missing implements syntax
* add the clear_cache to the flush cache button
* improve emergency emailing
1. set emergency CID name & number to the outbound CID name & number if emergency CID name & number are not set
2. remove duplicate item in email body
3. change the hardcoded email subject '911 Emergency Call' to be dynamically provided from the event. I do not like seeing the subject '911 Emergency Call' when it is an TEST call.
* improve emergency emailing
1. change the hardcoded email subject '911 Emergency Call' to be dynamically provided from the event. I do not like seeing the subject '911 Emergency Call' when it is an TEST call.
2. fix email template misspelling
3. improved email template with bold fonts