Add a condition around the wifi settings. This allows manually setting up the wifi settings on the phone without the device provisioning. If someone wants to use the provisioning config for wifi then set grandstream_wifi_enabled value to true.
* added tr069 enable and periodic_inform_enable vars to config templates add variable on dp750 template for enabling tr-069 provisioning.
* add vars to grandstream app default settings
* add if condition to use the variables.
* Update app_config.php
* Provisioning template changes
Grandstream
GAC2500 - Added account sip port to grandstream template after account server name
GRP2612 - Added Variable for grandstream dial timeout
GRP2612 - Added Variable for grandstream lock volume
GRP2612w - Added Variable for grandstream dial timeout
GRP2612w - Added Variable for grandstream lock volume
GRP2613 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for grandstream dial timeout
GRP2614 - Added Variable for grandstream lock volume
GRP2614 - Added Variable for granstream call popup enabled
GRP2615 - Added Variable for grandstream dial timeout
GRP2615 - Added Variable for grandstream lock volume
GRP2616 - Added Variable for grandstream lock volume
GRP26xx - Added Variable for grandstream lock volume
GXP2160 - Changed template to default enable options keepalive
GXP2160 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2160 - Added Variable for grandstream lock volume
GXP2160 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP2170 - Added Variable for grandstream dial timeout
GXP2170 - Added Variable for grandstream lock volume
GXP2170 - Added Variable for grandstream stun server
GXP2170 - Added Variable for granstream call popup enabled
GXP2170 - Added option for multicast listen address with "if isset" for variable on P1569
GXP2170 - added variable grandstream_weather_enable to enable/disable weather function in phones
GXP3240 - Added account sip port to grandstream template after account server name
HTek
UC903 - Added account sip port to htek template after account server name
UC903 - Added variable to specify account 1 ringtone
UC903 - Added ** as pickup code - Not defined
UC903 - Added variable for screen timeout
UC903 - Enabled call waiting tone P8850 - its off by default for some reason
UC903 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC903 - Added variable to change the pc port mode if expansion module needed P231
UC903 - Fixed expansion module key types - not defined
UC923 - Added variable to specify account 1 ringtone
UC923 - Added variable to change the pc port mode if expansion module needed P231
UC923 - Added ** as pickup code - Not defined
UC923 - Added variable for screen timeout
UC923 - Enabled call waiting tone P8850 - its off by default for some reason
UC923 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC923 - Fixed expansion module key types - not defined
UC924 - Added variable to specify account 1 ringtone
UC924 - Added variable to change the pc port mode if expansion module needed P231
UC924 - Added ** as pickup code - Not defined
UC924 - Added variable for screen timeout
UC924 - Enabled call waiting tone P8850 - its off by default for some reason
UC924 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC924 - Fixed expansion module key types - not defined
UC926 - Added variable to specify account 1 ringtone
UC926 - Added variable to change the pc port mode if expansion module needed P231
UC926 - Added ** as pickup code - Not defined
UC926 - Added variable for screen timeout
UC926 - Enabled call waiting tone P8850 - its off by default for some reason
UC926 - fixed variable P2 to set the admin password on the phone from default settings, was not defined
UC926 - Fixed expansion module key types - not defined
Snom
D735 - Added code given to use by snom to light the BLF green when avail and red when in use
Fanvil
X210 - Added default setting for fanvil blf pickup code
X210 - Added if exist in template for fanvil x210 the pickup code var
* grandstream_stun_server variable already exists
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>
* Added varibles to grandstream configs for idle mute fuction
I have changed them all to the default of "0" and then added a
varible called "grandstream_idle_mute_function" that overwrites
the default option of 0
There seems to be older configs where 0 = no instead of dnd
so I've added grandstream_idle_mute_function_old for these configs
* Added curls for grandstream_idle_mute_function
* Grandstream HT802 Added Offhook Auto-dial variables
* Grandstream HT802 Added Offhook Auto-dial variables
* Grandstream GRP261x Make Configuration Keypad Lock configurable, fix default
* Grandstream Add grandstream_dhcp_time_zone across all templates
* Yealink Added yealink_missed_calllog to control whether missed calls are logged or not
* Grandstream HT802 update variable name to not use dash (which was breaking the template)
* Add grandstream_dnssrv_transport setting to GRP and GXP21xx templates
Add grandstream_dnssrv_transport setting to enable setting of transport when dns/srv is selected. Added on GRP and GXP 21xx templates.
* Update app_config.php
Co-authored-by: FusionPBX <markjcrane@gmail.com>
nway_conference == true was evaluating as true regardless if nway_conference was set to true or false, just as long as it had a value of any kind.
This also fixes it so that you can set nway_conference to false in the default settings and it will disable the network conference feature, previously once it was enabled on yealink phones it could not be disabled without manually changing it in the phone or a factory default.
* Add Grandstream Headset/Speaker Ring
Add variable to choose whether the speaker rings with the headset.
* Add Speaker Only option
Add note that speaker only is supported with a value of 2.
There was an illogical if/else statement that the "else" condition would always set a null value, so it didn't really matter. Re-wrote it to properly filter if the transport is set to dns srv and not affix the SIP Port to the server address.
Hide the other connected party on the BLF of supported phones. When not hidden a busy BLF will show the other connected party/sttaus of the call by flashing back and forth between the BLF label and the caller ID.
It also impacts the park buttons, but they typically only show the word "park" because of the character limitations.
Also did more effective find/replace for the distnctive ring variables with regex!
Support enabling nway conference with Grandstream phones if nway_conference is set to true. If it is not true, it sets the conference URI back to blank to restore local conference
Grandstream template updates to support plantronics EHS via grandstream_headset_type and grandstream_headset_key_mode variables.
Also updated wallpaper and screensaver if/else statements to leave out the variables if they are not defined instead of clobbering the user setting. If you want to mandate a certain setting, just set the variable. If the variable is unset it will not overwrite on provision and allow the previous setting to remain.
Fix config URL so that the phones don't get an invalid URL when $domain_name is unset. They would previously receive `/app/provision` with no domain/ip included, which makes the phone unable to provision again once they have been added to the Devices page without manually re-setting the config URL or factory defaulting the device.
The alternative solution is that the PHP code could always ensure that the $domain_name variable is set even if the device doesn't exist. My suggestion is to see if it can be set to the same domain/IP as the original provision request from this unconfigured device
Excludes the P8352 value if the default setting grandstream_speaker_ring_volume is unset. Depends on PR #5522
Before anyone asks, Mandatory just means that the variable must be valid, not that it must be included in every XML download. The phone already has a valid value in its internal settings, so as long as we stay safe from setting it to an empty value or outside of the range of 0-7, we are safe. Excluding it is a valid option, which is also true for all settings labelled Mandatory in the Grandstream templates.