Commit Graph

99 Commits

Author SHA1 Message Date
FusionPBX
0eb825d621 Add Grandstream Call-pickup
BLF Call-pickup. Options: Auto, Force, Disabled
2025-07-14 14:07:04 -06:00
FusionPBX
5aabe28079 Update Grandstream gxp2135 to gxp2170 minor 2025-06-30 12:24:28 -06:00
FusionPBX
f9c7a3df40 Update grandstream_missed_call_notification default to No
This matches the pcode template. Grandstream description set it to no by default.
2025-04-10 18:11:27 -06:00
frytimo
64a8715245 Fix user id instead of auth id used in grandstream template (#7326) 2025-03-20 23:51:03 -06:00
FusionPBX
6baa6973f3 Add grandstream_transfer_mode_via_vpk 2025-03-03 18:47:28 -07:00
FusionPBX
7d62cc1e63 Fix the server 2 address and sip transport 2025-03-03 12:29:56 -07:00
FusionPBX
257fa78fc6 sip_transport is stored in the datbase in lower case 2024-08-14 01:51:42 -06:00
frytimo
a7f4dd0340 update grandstream template to use NTP provisioning variable (#6983) 2024-05-27 13:10:05 -06:00
FusionPBX
41e95766c6 Update GXP templates 2024-03-13 17:56:35 -06:00
FusionPBX
5b90e3380a Update the GXP Template
grandstream_nat_traversal
    options: No, STUN, KeepAlive, UPnP, Auto, VPN

grandstream_distinctive_ringtone_* (1-10)

grandstream_lan_port_vlan
    Number: 0 - 4095

grandstream_pc_port_vlan
    Number: 0 - 4095

grandstream_pc_mode
    options: Enabled, Disabled, Mirrored

grandstream_stun_server

grandstream_headset_key_mode
    options: DefaultMode, ToggleHeadsetOrSpeaker

grandstream_headset_ringtone
    options: Normal, PlantronicsEHS

grandstream_headset_type
    options: Normal, PlantronicsEHS

grandstream_headset_rx_gain
    Headset RX gain(dB). 1 - -6, 0 - 0, 2 - +6. Default is 0

grandstream_headset_tx_gain
    Handset TX gain(dB). 1 - -6, 0 - 0, 2 - +6. Default is 0

grandstream_screensaver_enable
    options: No, Yes,  OnIfNoVPKIsActive

grandstream_screensaver_source
    options: Default, USB, Download
2024-03-04 22:38:26 -07:00
FusionPBX
722a2806ee Remove self closing tag for *78 and *79 2024-03-04 13:28:17 -07:00
FusionPBX
a93519e310 Fix the register_expires, DND and grandstream firmware 2024-03-04 13:22:25 -07:00
FusionPBX
46e4afb6f3 Grandstream 2160 Fix keys assignments over 6 2024-03-04 13:16:34 -07:00
FusionPBX
3e367ca388 Support Grandstream GXP200EXT Expansion modules 2023-11-01 15:42:34 -06:00
FusionPBX
77a13ad9ea Update Grandstream version 2 templates. No P-codes 2023-10-28 02:31:24 -06:00
Norman King
d70fa0307b Add var to enable tr 069 on grandstream (#6774)
* 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
2023-07-15 18:49:39 -06:00
markjcrane
3311363c27 Rename public_mode to grandstream_public_mode. 2023-05-22 21:08:18 -06:00
jonathanblack1000
0f3b212586 Fix sort on call broadcast display (#6663)
* Fix sort on call broadcast display

* Grandstream Template Updates

For grp/gxp, added settings for intercom auto answer and multicast paging
For gxw42xx - Added off-hook auto-dial settings to all lines
For wp820 - Fixed incorrect P-codes and added setings for wifi roaming
Contributed new template for gxv3480
2023-05-05 11:23:41 -06:00
David Jacob
f0c1ebd3a1 Provisioning template changes (#6588)
* 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>
2023-04-02 22:12:13 -06:00
FusionPBX
c28dcab2ca Add grandstream_enable_call_features template var (#6480)
* Add grandstream_enable_call_features template var

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml
2022-09-27 09:02:31 -06:00
jonathanblack1000
d084f68a45 Update Grandstream Templates on most common models (#6479)
Add grandstream_missed_call_log, grandstream_missed_call_notification, grandstream_missed_call_backlight, grandstream_firmware_upgrade_protocol, grandstream_onhook_dial_barging,  grandstream_transfer_mode_via_vpk, grandstream_enable_call_features.
Add condition on grandstream_distinctive_ringtone_name_1, and grandstream_distinctive_ringtone_name_2.
Update Connection request user/pw to work better with GDMS.
On grandstream_wallpaper_url, use current setting name on GRP2613
2022-09-27 08:17:31 -06:00
Jesse Gruver
0e9b8f15b5 Added grandstream_show_key_labels and other default values. (#6438) 2022-07-22 13:02:51 -06:00
Jesse Gruver
3643f98d62 Added variables to grandstream configs for idle mute fuction (#6371)
* 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
2022-06-01 13:54:56 -06:00
Dan
2a0392dec2 Add variables to Grandstream and Yealink Templates (#6400)
* 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)
2022-05-30 16:37:38 -06:00
Marvin Skeete
208d56b400 Add ability to set static ipv4 for gxp2130_40_60_70_35 (#6317)
* Add grandstream_label_background varable

Allows the label background to be toggled

* Add ability to set static ipv4 for gxp2130_40_60_70_35

* Add ability to set static ipv4 for dp750

* Update {$mac}.xml

<P35> expects user_id not display_name
2022-03-09 15:46:44 -07:00
Marvin Skeete
f812d6fe69 Add grandstream_label_background varable (#6259)
Allows the label background to be toggled
2022-01-26 13:22:35 -07:00
Dan
1b9cf5db7a Provisioning Template Updates for Grandstream GXP2130+, Yealink T46S & Polycom 4.x (#6255)
* Add DHCP timezone control for GXP2170, fix typos for GXW42xx

* Grandstream: Added toggleable DHCP Time settings, XML app support, jitter buffer and VLAN.
Yealink T46S: Headset ringtone and Voicemail fixes
Polycom 4.x: Backported Cisco CDP variable
2022-01-22 13:03:34 -07:00
jonathanblack1000
1a943e5e27 Add grandstream_dnssrv_transport setting to GRP and GXP21xx templates (#6104)
* 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>
2021-11-16 12:49:26 -07:00
Jason Kinner
bc77530c3e Add grandstream_disable_active_mpk_page variable (#6085)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:00:46 -07:00
demonspork
0f9a868913 Fix some nway conference true/false variables (#6052)
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.
2021-09-10 15:09:33 -06:00
Jason Kinner
1ed60d95c5 Add: missing curly braces, grandstream_long_label (#6006) 2021-08-25 18:59:39 -06:00
markjcrane
bfba65c494 Add grandstream_accept_sip_from_proxy_only and synchronize the templates 2021-06-30 10:14:10 -06:00
FusionPBX
d44c38ee4b Add {literal} and {/literal} used in long sections of commented lines
Used in long sections of commented out lines. This solves a problem on ARM devices like Raspberry Pi.
2021-06-26 01:11:47 -06:00
demonspork
910549919b Grandstream headset ring (#5967)
* 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.
2021-06-21 20:17:58 -06:00
demonspork
81fa140793 Restore grandstream_ipv_mode changes
Accidentally clobbered the grandstream_ipv_mode variable changes, putting them back.
2021-05-14 16:51:56 -05:00
demonspork
0e17971798 Grandstream Fix Logic for outbound proxy and secondary servers when using SRV records
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.
2021-05-12 09:38:06 -05:00
chansizzle
2efc1d0ca9 added grandstream IPV4/6 mode 2021-05-10 12:51:17 -06:00
demonspork
01e2339ec1 GXP21XX Dual Registration Support
This is a new feature for grandstream, supporting dual simultaneous registrations. Only the very latest firmware 1.0.10.35 has it fully working, the last few versions had various partially working versions. This formats the username correctly when a secondary server is present.

There are more phone models that support this feature, but since it has been hit and miss on getting it going I am not going to enable it on those templates unless I have one of each to fully test.
2021-05-06 00:52:07 -05:00
markjcrane
c401747405 Change the *97 to {$voicemail_number} provision variable. 2021-04-23 13:00:45 -06:00
demonspork
99fb4ae078 Grandstream: Hide BLF Remote Status And More Distinctive Ring
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!
2021-03-02 21:34:25 -06:00
FusionPBX
f054319197 Merge pull request #5784 from demonspork/grandstream-headsets
Grandstream: Plantronics EHS and additional non-clobbering of settings
2021-02-25 17:36:43 -07:00
demonspork
1d9694a671 Grandstream template nway conference support
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
2021-02-25 17:10:49 -06:00
demonspork
0f9098cfb4 Grandstream: Plantronics EHS and additional non-clobbering of settings
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.
2021-02-25 15:23:33 -06:00
Jason Kinner
e43527c48c Added OpenVPN Variables
Added the following variables to support OpenVPN:
grandstream_openvpn_enable (P7050)
grandstream_openvpn_server (P7051)
grandstream_openvpn_port (P7052)
grandstream_openvpn_transport (P2912)
grandstream_openvpn_ca (P9902)
grandstream_openvpn_cert (P9903)
grandstream_openvpn_key (P9904)
grandstream_openvpn_cipher (P8396)
grandstream_openvpn_username (8394)
grandstream_openvpn_password (P8395)
grandstream_openvpn_options (P8460)
2021-01-28 16:18:54 -05:00
chansizzle
068f3cc302 adding dhcp options variables 2020-12-11 15:53:04 -07:00
Andrew Querol
f1349fac12 Allow both park+x and park+*x prefixes in the Grandstream dialplan.
See #5606 for context
2020-11-20 19:17:43 -06:00
FusionPBX
f013aa5059 Merge branch 'master' into gxp_feature_key_sync 2020-11-18 08:39:14 -07: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
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