Commit Graph
12 Commits
Author SHA1 Message Date
demonspork 5a39dbf68e Prevent Users without permission from clobbering ring_group_caller_id_name and number
Bring the ring_group_caller_id_name and number fields and permissions in line with the prefix permissions so that users without permission don't overwrite those those fields by hitting save.
2020-12-02 20:00:55 -06:00
demonspork 15894f4e17 Fixed Issue with extension limits preventing Extension Search
Extension searches would fail if an extension limit was set. This is because the unset($parameters) that was used at the end of the query that counts the extensions is also unsetting the "search" parameter that was set previously. I moved the //get total extension count for domain query to happen before the search parameter is added to fix it.
2020-11-19 17:18:51 -06:00
demonspork 99e2060a50 Yealink Local Directory
Enable Local Directory. Disabled by default to preserve existing behavior (variable unset in configuration file)
2020-11-18 12:51:11 -06:00
demonspork 80fa9cfe7d Fix displaying array order for settings of type array
the *_setting_order was missing from the SELECT queries for all 3 places I could find that use this mechanism. The device settings don't seem to use it.
2020-10-19 18:46:38 -05:00
demonspork b0bbae3a40 GXP17xx Template Improvements
Various basic variables were missing like transport type and sip_port and basic things were wrong like Accept Incoming SIP from Proxy Only was disabled.
This template P codes are almost identical to the GXP16XX except that the loops for button programming doesn't seem to work with it at least with my limited testing, so they are left out for now.

Tested and working with firmware 1.0.1.89
2020-10-19 00:11:43 -05:00
demonspork 05f5f8692d Fix Config URLs for unconfigured Grandstream Phones
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
2020-10-18 12:34:52 -05:00
demonspork d5b88ba4dc Fix Indention
Spaces instead of tabs :)
2020-10-16 18:51:32 -05:00
demonspork 21fd701e69 Disable grandstream_feature_key_sync by default
Disable grandstream_feature_key_sync by default because it requires the lua.conf.xml modification for the server to work with it.
2020-10-16 18:49:06 -05:00
demonspork 083453784b Grandstream GXP and GRP feature Key Sync
Grandstream GXP and GRP feature key sync variables.
2020-10-16 18:47:01 -05:00
demonspork 324468c3fd Add grandstream_speaker_ring_volume to all templates
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.
2020-10-09 23:15:31 -05:00
demonspork 03c41aafa5 Merge pull request #4 from fusionpbx/master
Pull Upstream
2020-10-09 22:16:46 -05:00
demonspork fec8752a8a Add grandstream_call_waiting and sip_port variables to Grandstream AT… (#4887)
* Add grandstream_call_waiting and sip_port variables to Grandstream ATA Templates

* Disable Local Feature Codes
2019-11-25 15:21:18 -07:00