Creates groups based on contact type. groups contacts with more then number into one contact.
Sets FirstName to contact_organization if there is no given or family name but contact_organization is set
Labels work, home, and mobile numbers with all others set as other
Sets Primary to line with phone_primary set (will set Primary for each if multiple lines have phone_primary set even though phone will likely only use one of the tags)
Fixes phonebook.xml to work with current contacts.
Sets contact_organization to FirstName if contact_name_given and contact_name_family are not set but contact_organization is
sets Phone type for home and mobile, sets all others to work
Loads category == "extensions" as well
* Update dp750/mac.xml
Use $grandstream_ring_timeout for Ring time rather then hardcode
Use $grandstream_dial_plan for every account rather then only first
set Station name to DP750-{$mac}
Add option for Automatic Reboot (Firmware 1.0.17.1+)
Allow $grandstream_stun_server and use stun if $grandstream_nat_traversal == 1
$grandstream_accept_sip_from_proxy_only to set Disable Direct IP Call
Turn off 3CX Auto Provision
Use $grandstream_automatic_provisioning and convert to values used in DP750 vs other grandstream heardware
Allow $grandstream_automatic_provisioning_minutes $grandstream_automatic_provisioning_hour $grandstream_automatic_provisioning_day
use $grandstream_phonebook_download_interval rather then just disabling
Use the singleton database object with database::new syntax
Pass the connected database object to the settings object so settings object does not have to create another connection
Set the PHP time zone to fix the destination summary report. Without the time zone set it would use the server operating system time zone. If the time zone is set to UTC when it rolled over to a new date ahead of the local time zone it would make the report show 0 results.
If the type is boolean with a value of 0 or 1, use type text; if it is numeric, use type text.
The template default setting uses a string for the template values, and a boolean type is used with conditions.