* 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
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove closing tag
* remove invalid method params
* remove closing tag
* remove closing tag
* Update auto_loader to load each class file in the project
Update the auto_loader class to use an include statement on each file in the project to load the class within the file. This will allow mismatched names within the file to be loaded and mapped according to the declaration instead of the filename. The class is then checked against the parsed classes from the PHP engine so that namespaces are available and mapped to the file they were declared in. An update was also made to the search algorithm used to find a file that was not already loaded by collapsing the array to have only valid matches to increase performance on a cache miss. Logging within the auto_loader has been moved to a function.
Multiple files were modified to allow the include statement. When the class has the `if(class_exists())` statement, the auto_loader is called to check for the class. This caused an infinite loop scenario so all wrappers have been removed. The auto_loader will now break the loop by directly modifying the internal classes array instead of trying to restart with the 'reload_classes' method.
- APCu is used to cache classes so any loading of the classes is done only once. To clear the APCu cache, restart php-fpm or call the auto_loader::clear_cache() function.
- Cache file is used when APCu is not available. To clear the cache remove it from the tmp folder or call the auto_loader::clear_cache() function.
- All classes must no longer have a class_exists wrapper to benefit from the performance boost.
- Classes should not be directly included when the auto_loader is used.
* remove include statement of class file
* Update destinations.php
* Create download.php
download.php is required to play and download call recordings
* add CDR Details and Call Recording to emergency logs
* add CDR Details and Call Recording to emergency logs
* combine call details column and call status column
removed the call details column
make the call status column be the hyperlink to the cdr details page
* combine call details column and call status column
removed the call details column
make the call status column be the hyperlink to the cdr details page
Add new permissions to the active calls page so the fields can be removed from an admin permissions group to simplify the page, hiding more technical fields they probably will not find helpful.
Add new permissions to the active calls page so the fields can be removed from an admin permissions group to simplify the page, hiding more technical fields they probably will not find helpful.
* Use single event socket object in registrations class
Allow passing an event_socket in the constructor
Ensure the event_socket is connected before using it in loops
* use boolean setting as true boolean
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
Moved voicemail status after missed calls. This way, it will show the status of voicemail when it goes to voicemail.
There is still a field in the CDR for missed_call and this will still be set to true.
* add the apcu caching ability for performance
When the PHP extension APCu is loaded, the settings class and the auto_loader will cache their results across requests in RAM. For more information about the APCu extension visit the PHP page: https://www.php.net/apcu
* use global instead of default terminology
* fix incorrect name on disk usage chart
* put correct information in disk usage for Linux and FreeBSD systems
* Update system_disk_usage.php
* Update system_disk_usage.php
A value of 0 disables voice activity detection. VAD when enabled on a Yealink T54W made the audio at the beginning of the call start at the beginning of the call and sometimes took 1 to 30 seconds to start.
Recommend changing this value on all systems using Yealink to use 0 to disable voice activity detection. Currently yealink_voice_vad is used in t46s, t41s, and t54w
* 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 the default setting "use_deletion_queue" in the "voicemail" category.
Changed deleted phrase and added 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 log in. With this method, the deletion queue is handled per mailbox vs system-wide as in the cron-triggered script. It also allows us to adjust the retention hours on a per-domain basis.
* Fix number text and background color not applying
* Update registrations.php
* Update voicemails.php
* Update missed_calls.php
* Update recent_calls.php
* Update domains.php
* add xml statistics mouse over text and use languages variables
* add xml statistics mouse over text and use languages variables
* xml statistics - remove English words from non-English languages
The old v_device_keys column device_profile_uuid is deprecated. It will exist on systems that were upgraded from an older version before the change was made.
The app default code here moves data from the old format to the newer one. This is useful for upgrades. Newer installs will not have this deprecated field in the device_keys and device_settings table.
* multiple changes to the and for the yealink t58W
Added the variable for Bluetooth so that it won't be disabled every time the phone is provisioned.
Added what is needed for the wallpaper and firmware.