Commit Graph

87 Commits

Author SHA1 Message Date
markjcrane bfba65c494 Add grandstream_accept_sip_from_proxy_only and synchronize the templates 2021-06-30 10:14:10 -06:00
FusionPBX 3b63b7156f
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 00:43:56 -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 ba3dace19d
added grandstream IPV4/6 mode 2021-05-10 12:53:03 -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 61cf9b998b
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:06:42 -05:00
chansizzle 528efad407
adding dhcp options variables 2020-12-11 15:54:06 -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
Len 4618b81754
Update {$mac}.xml 2020-10-05 11:27:15 -04:00
Jason Kinner 74e5b2f683
Add new grandstream_onhook_dial_barging & grandstream_history_dialplan_bypass variables (#5471)
Enable the option to prevent incoming calls from interrupting outbound dialing (a commonly requested functionality)
Enable the option to bypass Grandstream phone's dialplan when dialing from call history (to prevent errors on calls that contained a + in front of them)
2020-09-22 17:42:04 -06:00
Dan 17c2a12390
Grandstream GXP and GRP device config updates (#5397)
* Add dnd variable, fix formatting error in GRP2615 and GRP2616 templates

* Configurable headset volume added

* Added $grandstream_blind_xfer_blf variable to GRP templates
2020-08-31 14:59:37 -06:00
Jason Kinner 0e86cc4d89
Remove duplicate declaration of P2916 (#5281)
P2916 (wallpaper source) is defined twice in the file: once statically and then again immediately after in an if/else statement. The latter is correct. Having it defined twice causes the phone to ignore the second declaration.
2020-05-21 18:57:51 -06:00
FusionPBX 5621f70820
Update {$mac}.xml 2020-05-02 13:52:17 -06:00
Len 4898edfab8 Update {$mac}.xml (#5197) 2020-03-23 17:14:11 -06:00
Len 053e2916aa Update {$mac}.xml (#5128) 2020-01-24 08:32:11 -07:00
Len 16a0d15fb1 Update {$mac}.xml 2020-01-22 22:46:35 -05:00
Len c4d97b9e43 Update {$mac}.xml 2020-01-22 22:09:20 -05:00
Len ebf825c9c4 Update {$mac}.xml (#4949) 2019-12-16 10:56:41 -07:00
FusionPBX 60f577c088 Update {$mac}.xml 2019-11-21 20:06:01 -07:00
FusionPBX 1e96601bbd Update phonebook.xml 2019-11-21 19:25:34 -07:00
FusionPBX a8ffecd96f Update phonebook.xml 2019-11-21 14:52:20 -07:00
FusionPBX 6128284a0f Update phonebook.xml 2019-11-21 10:24:47 -07:00
Len e1aa2aa0e9 Update phonebook.xml (#4884) 2019-11-21 10:20:45 -07:00
Len 067024ec73 Update {$mac}.xml (#4855)
* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml
2019-11-18 21:01:17 -07:00
Len 83c7ab0aa6 Update {$mac}.xml (#4848) 2019-11-12 20:19:45 -07:00
Len 25bb925c82 Update {$mac}.xml (#4824) 2019-11-05 09:11:32 -07:00
FusionPBX f78b3dedd4 Update {$mac}.xml 2019-09-15 10:36:28 -06:00
FusionPBX f011e7d17c Update {$mac}.xml 2019-09-15 10:29:21 -06:00
Len ab04709f6d Update {$mac}.xml (#4508)
* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml
2019-09-11 08:29:24 -06:00
FusionPBX 415672084f Update {$mac}.xml 2019-09-05 12:23:57 -06:00
FusionPBX c198ff607e Update {$mac}.xml 2019-09-05 12:12:58 -06:00
Len 3fad85eb14 Update {$mac}.xml (#4379) 2019-07-24 18:23:32 -06:00
Len 5f8e6d1674 Update {$mac}.xml (#4370) 2019-07-20 13:03:28 -06:00
Len 0b71d6d40d Update {$mac}.xml (#4353) 2019-07-13 10:24:09 -06:00
Len b89543b7e5 Update {$mac}.xml (#4331)
* Update {$mac}.xml

* Update {$mac}.xml
2019-07-03 21:12:13 -06:00
Len 3477842f51 Update {$mac}.xml (#4316) 2019-06-29 13:30:31 -06:00
Len 4008f2255f Update {$mac}.xml (#4294) 2019-06-18 21:12:33 -06:00
Len d60c7a25af Update {$mac}.xml (#4281)
* Update {$mac}.xml

* Update {$mac}.xml
2019-06-14 22:12:43 -06:00
Len 6df7a33fbd Update {$mac}.xml (#4236) 2019-06-01 20:47:10 -06:00