Commit Graph

7893 Commits

Author SHA1 Message Date
FusionPBX 64c159931c
Update database.php strlen replace with isset
Used isset instead of empty because empty treats a numeric value of 0 as empty.
2023-05-13 22:13:40 -06:00
FusionPBX 67e2d731b5
Update persist_form_var.php 2023-05-13 20:39:46 -06:00
FusionPBX 5755ae3f48
Update schema.php for PHP 8.1 2023-05-13 17:31:27 -06:00
FusionPBX ab2bd0ef5e
Update footer.php use the empty function 2023-05-13 17:20:17 -06:00
FusionPBX 7a8b2b7d79
Update database.php prevent more php 8.1 warnings. 2023-05-13 12:35:17 -06:00
fusionate adfdb7bae5
Functions: Updates for PHP 8.1 2023-05-13 04:53:18 +00:00
fusionate 196125952b
Message [Class]: Updates for PHP 8.1 2023-05-13 04:52:43 +00:00
FusionPBX ff2c52eda8
Update domains.php 2023-05-12 20:32:44 -06:00
FusionPBX 44a46d491b
Use !empty in the if statement 2023-05-12 20:24:39 -06:00
FusionPBX 5c34c991cf
Update pdo.php 2023-05-12 18:34:54 -06:00
FusionPBX a2bb8e5f90
Limit subquery to one result
This prevent a cardinality error.
2023-05-12 16:22:50 -06:00
FusionPBX 4f60390b34
Check if the tables_exists 2023-05-11 22:33:08 -06:00
fusionate 733b206664
Functions: Updates for PHP 8.1 2023-05-12 00:45:09 +00:00
FusionPBX 442147391c
Change the and to an or and add an isset 2023-05-10 22:11:01 -06:00
FusionPBX b86cd20e8e
Use isset instead of is_uuid 2023-05-10 22:01:12 -06:00
frytimo 872e676f59
Fix missing php tags (#6687)
* fix missing php tags

* fix missing php tags
2023-05-10 18:19:57 -06:00
fusionate e7b72de33c
Modal [Class]: Updates for PHP 8.1 2023-05-10 22:59:12 +00:00
fusionate 6d4463a5b7
Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:39:48 +00:00
fusionate 4de76b44f2
Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:37:47 +00:00
fusionate 8021a71647
Menu [Class]: Updates for PHP 8.1 2023-05-10 22:17:19 +00:00
fusionate 43961ec6f2
Message [Class]: Update for PHP 8.1 2023-05-10 22:02:13 +00:00
fusionate bac9c83f33
Modal [Class]: Update for PHP 8.1 2023-05-10 21:58:51 +00:00
fusionate 46ff8cb278
Message [Class]: Update for PHP 8.1 2023-05-10 21:58:37 +00:00
FusionPBX 2d3f623174
Update for PHP 8.1 2023-05-09 18:50:06 -06:00
FusionPBX c57fa0fc39
Update for PHP 8.1 2023-05-09 18:39:24 -06:00
FusionPBX 32672b7472
Update for PHP 8.1 2023-05-09 17:11:55 -06:00
FusionPBX 821720db1d
Update for PHP 8.1 2023-05-09 17:06:19 -06:00
fusionate 5f2a3fde90
Button [Class]: Update for PHP 8.1 2023-05-09 22:52:04 +00:00
FusionPBX b732c0afe9
[Bug] value of 0 treated as empty
When empty is used its treating 0 as an empty value and then the value is set to null.  Will work on the changes further to prevent this problem.
2023-05-09 11:14:41 -06:00
FusionPBX bc0c2ea588
$db variable needed by schema class 2023-05-09 08:39:42 -06:00
FusionPBX 89af27e94e
Update button.php 2023-05-08 23:03:00 -06:00
FusionPBX 9e4e8558e5
Remove debug 2023-05-08 22:30:39 -06:00
FusionPBX fd0615587e
Update require.php 2023-05-08 19:02:58 -06:00
FusionPBX 0413b998e8
Ensure PROJECT_ROOT is defined 2023-05-08 18:50:32 -06:00
FusionPBX edb12399ce
Add not empty debug 2023-05-08 17:21:52 -06:00
FusionPBX 26e3a0881d
Error reporting for user hide deprecated 2023-05-08 15:07:59 -06:00
markjcrane 423606631b Update version of smarty to 4.3.1 2023-05-08 09:50:42 -06:00
fusionate 8ddbe07d3d
PDO: Fix PHP 8.x issue on explode function. 2023-05-08 13:21:10 +00:00
Anthony e37b930b07
Update app_languages.php (#6666) 2023-05-05 15:21:50 -06:00
FusionPBX 0038395009
If numeric then don't need to escape
Numeric should be safe as a pass thru.
2023-05-05 13:23:44 -06:00
FusionPBX b40005c11e
Account for numbers 2023-05-05 13:18:15 -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
fusionate f29a78a6af
Functions: Adjust escape function to handle non-strings (XML objects). 2023-05-05 17:00:39 +00:00
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX ebbb2f1a72
Add additional languages 2023-05-03 22:50:18 -06:00
frytimo 37646c0893
Frytimo pr remove unused variables and fix clobbering (#6656)
* config->exists returns true or false but no action taken and variable
is unused

* remove unused variable db_type

* remove unused variable db_name

* remove unused variable db_username

* remove unused variable db_password

* remove unused variable db_secure

* remove unused variable db_cert_authority

* remove unused variable db_host

* remove unused variable db_path

* remove unused variable db_port

* remove unused variable db. The upgrade method never uses the db variable
and instead uses a new database connection each time.

* remove uninitialized parameters variable

* domain_count never used

* variable context is never used in the method or any app_defaults

* variable $row is clobbered by inner foreach loop

* variable domain_name is never used in method scope

* variable domain_array seems to be uninitialized in this scope so set an
empty string value so function lower_case is not receiving null.
2023-05-03 14:41:39 -06:00
FusionPBX 0bb2443dc0
Add Asia/Tel_Aviv and Asia/Jerusalem to IDT-3 2023-04-30 15:41:59 -06:00
FusionPBX 4c0f1ce46f
Update Asia/Jerusalem from IDDT to IDT 2023-04-30 15:15:39 -06:00
Krushali Shah 1f302c903f
enable/disable codec settings for all accounts (#6628)
The template for codec enable settings was taking a value as 1 if it was set in the settings. It was not taking the actual value inside it. So I have edited the templates to check the value if it's set to true.
2023-04-29 20:32:04 -06:00
Anthony 610edaae60
Update app_languages.php (#6640) 2023-04-29 18:26:50 -06:00
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
Finn ae7c57eb45
Add support for XMLApp to grp2615 provisioning template (#6623)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-26 20:44:09 -06:00
FusionPBX 019ca725d8
Remove the seed for srand it is done automatically 2023-04-26 13:40:05 -06:00
FusionPBX b4ccdd244b
[bug] error reporting options user, dev, all (#6616)
An enhancement that adds simple options to show what errors to show in the web interface. This also fixes a bug that causes an error in PHP8.
2023-04-26 11:19:45 -06:00
FusionPBX 9800311adb
Add a more flexible footer value 2023-04-25 01:25:59 -06:00
Mendel 2edfb9a0c2
Update Yealink variables w70b (#6615)
* Update {$mac}.cfg
2023-04-24 21:04:37 -06:00
FusionPBX 1b025e0aa2
Update class name FixedBitNotation to base2n 2023-04-23 02:31:44 -06:00
FusionPBX 3c2c1f01f2
Add setup, disable and hide 2023-04-23 01:43:15 -06:00
FusionPBX 1058c1bc87
Add google_authenticator PHP class
This class is licensed under Apache version 2.0
2023-04-23 01:11:52 -06:00
FusionPBX 869a1e1350
Create base2n.php
Add an MIT binary to text PHP class
2023-04-23 01:05:46 -06:00
fusionate 18225f82f2
Email Class: Fix typo that effects embedded base64 image attachments. 2023-04-20 01:33:22 +00:00
Norman King 30db2c5a6b
remove incorrect whitespace for line_3_hanging_group_mode var (#6612) 2023-04-18 15:40:35 -06:00
Antonio Fernandez 6a556e55ad
Fixing Yealink T46s codecs in template (#6611) 2023-04-17 11:13:07 -06:00
markjcrane 00801b5b04 Add mutli-factor authentication. 2023-04-16 01:10:39 -06:00
fusionate 19e58af546
Email Queue Attachments - Add CID and Mime Type fields. 2023-04-12 20:06:41 +00:00
FusionPBX 00364f318c
Create MN_Generic.cfg 2023-04-11 09:39:20 -06:00
FusionPBX 064bf7204a
Update MN_{$mac}.cfg 2023-04-11 09:38:16 -06:00
FusionPBX 67f3bc6808
Add Mitel 5330e 2023-04-11 09:38:04 -06:00
FusionPBX 81f3bdffc9
snom_dialtone_on_hold default to false 2023-04-11 09:34:46 -06:00
FusionPBX 5eca8b1ade
snom_dialtone_on_hold default to false 2023-04-11 09:33:23 -06:00
FusionPBX b6012976fb
Allow an empty ringback value 2023-04-07 12:36:20 -06:00
fusionate 36a4768917
MOH: Move None option to Others option group. 2023-04-05 00:39:00 +00:00
FusionPBX 408122c60c
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys.

Added to support phones that require a subtype for provisioning the phone.

* Add device_key_subtype

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Update device_vendor_functions.php

* Update device_vendor_restore.php

* Update index.php

* Update provision.php

* Update app_languages.php

* Update app_config.php
2023-04-04 08:57:41 -06:00
Antonio Fernandez de08aa6a1d
Added support for secondary outbound proxy on Snom D series phones. (#6603) 2023-04-03 20:58:36 -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 ab67243911
Add the registration_expires variable 2023-03-30 14:58:09 -06:00
FusionPBX fce7b43c2e
Add the registration_expires variable 2023-03-30 14:56:54 -06:00
Ben 737adf44f3
Add registration expiry with register_expires (#6596) 2023-03-30 14:09:00 -06:00
Ben 3a1f3d1feb
Add registration expiry with register_expires - corrections (#6597) 2023-03-30 14:08:33 -06:00
Ben b4670b1203
Add registration expiry with register_expires (#6598) 2023-03-30 13:50:07 -06:00
Ben bb4e854198
Add registration expiry with register_expires (#6599) 2023-03-30 13:49:49 -06:00
Ben d1d42eb1d3
Update {$mac}.xml (#6600) 2023-03-30 13:49:25 -06:00
FusionPBX 3091370f14
Fix the ntp_server setting 2023-03-30 10:56:43 -06:00
agree ca36d10121
[security] prevent xml injection and executing switch api cmds (#6594) 2023-03-29 23:24:04 -06:00
FusionPBX ac129143a7
Add registration expiry with register_expires 2023-03-29 16:59:59 -06:00
Finn c1de249792
A few improvements to some grandstream configs + new devices (#6584)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-03-24 20:06:15 -06:00
Antonio Fernandez 5c77562535
New Snom phone support plus fix for older snom model (#6587)
* Added support for privacy_out config parameter

* Added support for Snom M Series KLE Phones/Base

* minor fix to app_config.php
2023-03-24 20:04:54 -06:00
frytimo 5e23824940
contacts app_defaults breaks PDO db (#6585) 2023-03-24 09:18:23 -06:00
FusionPBX 051cb01fdc
Use the subcategory when refreshing the session
Beset to be specific when using unset to clear values in the session
2023-03-23 21:40:50 -06:00
levishores 181998cb37
Yealink blf active variable (#6567)
* Updated blf_active_backlight with variable

* Fixed variable name

---------

Co-authored-by: Levi Shores <levi@dtpartners.com>
2023-02-28 10:24:07 -08:00
zrd740 bc7b6d9529
Added 2 new variables for T54W provisioning (#6560)
Added 2 new variables for changing the idle clock {$yealink_idle_clock} and transparency of the dsskeys {$yealink_idle_dsskey_title_transparency}
2023-02-23 20:28:58 -07:00
frytimo 8e86fe6243
Remove '&' on new (#6559)
Remove '&' on static function new.
2023-02-21 09:39:15 -07:00
fusionate fc7a8106fb
Dashboard - Domain Limits: Rework style to match other widgets. 2023-02-20 22:21:54 +00:00
FusionPBX 97dbe7b31a
Save the email response (#6558)
* Save the email response

* use the response variable from the email class

* Rename email_debug to email_response

* Update app_languages.php

* Show the email response

* Save the email response
2023-02-17 12:47:11 -07:00
FusionPBX eab4b53d3a
Update {$mac}.cfg 2023-02-15 11:27:35 -07:00
FusionPBX 66695f00c9
Create {$mac}.cfg 2023-02-15 11:26:15 -07:00
FusionPBX bb5588fe58
Add path, version and size 2023-02-15 09:49:47 -07:00
FusionPBX ce52b2f750
Change formatting for user and admin password 2023-02-10 10:31:56 -07:00
fusionate ea59d3bf58
Conferences - List: Display CDR link in Tools column, if allowed. 2023-02-09 00:30:56 +00:00
FusionPBX 324b720cda
Fix the syntax $ needs to inside the variable brackets 2023-02-08 16:28:47 -07:00
FusionPBX 09c41b88ef
Add contact-params (#6545)
Adding contact params for control over this setting.
2023-02-06 22:24:16 -07:00
markjcrane 87192bd07d Add autoanswer setting to more phones 2023-02-03 16:30:40 -07:00
markjcrane d8f3f698e3 Add settings for autoanswer 2023-02-03 16:17:48 -07:00
fusionate a4c4e4c52a
Functions: Modify permission_exists() function to support an array of permissions. 2023-02-03 18:50:56 +00:00
fusionate 6bc1e53244
Default Settings - Copy: Move function to list view and use copy method in class. 2023-01-31 01:41:43 +00:00
fusionate 5b3cd98a29
Default Setting - Edit: Add Clone button to duplicate setting. 2023-01-29 07:37:38 +00:00
fusionate 9f7133ac4f
Login: Change destination setting type. 2023-01-28 00:19:00 +00:00
fusionate 107b8a48f2
Voicemail: Default/Domain Settings to control CID Number and Date & Time playback/order. 2023-01-27 22:17:51 +00:00
fusionate c4b8c7add1
Default/Domain/User Settings - Edit: Change Type field to select box. 2023-01-27 21:50:43 +00:00
FusionPBX 433e42d933
Update sv voicemail language 2023-01-26 16:40:45 -07:00
FusionPBX e488985708
Add title-languages translations 2023-01-25 22:57:24 -07:00
FusionPBX 9672dcc299
Use /es/mx/maria by default
Copied the wrong one in a previous commit. FreeSWITCH has sound files for es/mx/maria so we will use this by default.
2023-01-25 08:41:42 -07:00
FusionPBX 0279384ed6
Update es.xml 2023-01-25 08:37:24 -07:00
markjcrane 4ad93b421d For spanish use /es/ar/mario by default 2023-01-25 08:36:31 -07:00
FusionPBX 9781d965ff
Added to support the Disabled option 2023-01-24 11:22:57 -07:00
FusionPBX 3bfa2fc525
Added to support the Disabled option 2023-01-24 11:21:49 -07:00
FusionPBX 28aa3dce38
Add spa_vlan_enable, spa_vlan_id and spa_vlan_pc_id 2023-01-20 11:24:25 -07:00
FusionPBX dc3b95da36
Use tabs for indentation 2023-01-17 12:07:35 -07:00
Alex 37ab508d1b
Update chart.js v3 to v4 (#6529)
* Update chart.min.js

* Update missed_calls.php

* Update recent_calls.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update domain_limits.php

* Update voicemails.php
2023-01-06 13:18:53 -07:00
Alex 310d4d00e7
Fix chartjs-adapter-date-fns (#6528) 2023-01-05 15:52:59 -07:00
Alex b43d6f3267
Update chart.min.js (#6527) 2023-01-05 14:54:46 -07:00
Alex bae38f3b65
Update chart.js (#6526)
* Update chart.min.js

* Update chartjs-adapter-date-fns.bundle.min.js

* Update chart.min.js
2023-01-05 14:45:50 -07:00
FusionPBX 819d7aeb4c
Update spandsp 2023-01-02 23:58:38 -07:00
zrd740 7908de0965
Update t41p {$mac}.cfg to correct IPv4 / IPv6 bug (#6516)
I was having an issue where my T41P phones were getting provisioned with IPv4 & IPv6 - even though I specified in default settings yealink_ip_address_mode=0 for IPv4 only. Checked the y000000000036.cfg, which was setting it correctly. The issue was that {$mac}.cfg was overriding the correct setting. There were several instances of "network.ip_address_mode = 2" in this file, which specifies ipv4&ipv6. I changed all 5 of those entries in this file to pull from the default setting {$yealink_ip_address_mode} rather than just setting a static value of 2. I don't know why it has this listed in this file 5 times. But, this change resolved my issue and will force the T41P provisioning to follow FusionPBX default settings.
2022-12-31 11:51:08 -07:00
Vincent 68f7ca517e
Update all model templates of Flyingvoice. (#6509)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.

* Fix: unable to generate configuration file of Flyingvoice due to syntax error.

* Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices.

* Update all model templates of Flyingvoice.
2022-12-31 11:32:58 -07:00
FusionPBX 52308e2f15
Set new_json from the array
Fixes the new_json value that is added to the database transactions table.
2022-12-29 23:55:11 -07:00
FusionPBX f714ef6798
Fix problems with the app_uuid and domain_uuid
app_uuid was null, and domain_uuid getting the wrong uuid.
2022-12-22 13:04:24 -07:00
FusionPBX fa8ef47510
Make Aastra config files more like other provision templates (#6510)
* Update {$mac}.cfg
2022-12-16 13:13:55 -07:00
demonspork 5ccd29f20f
Add : colon to menu item links to fix external links (#6508) 2022-12-15 18:29:46 -07:00
FusionPBX a83982ea1b
Set where and order_by to public 2022-12-14 09:58:27 -07:00
Alex 045c87c98c
Update SortableJS to 1.15.0 (#6506) 2022-12-09 10:42:09 -07:00
garryavx 93dc310178
Update {$mac}.cfg (#6248)
Added a line to set SRTP encryption. the default setting yealink_srtp_encryption was not setting properly to my T56a devices. I downloaded my config files and did not find an entry for srtp at all.

compared with the t54w template and it did have a srtp setting. So I pretty much stole the line from the T54w template and dumped it in here.

The T54w template is vastly superior to this one and this probably needs a rewrite to bring it in line.

Tested on my T56a and it at least gets the job done.
2022-12-03 14:50:53 -07:00
hershyheilpern ec91cbb962
Update {$mac}.xml (#6495)
Add variable options for Line Echo Canceller & Network Echo Suppressor
2022-12-03 14:48:23 -07:00
Vincent e8d01efc58
Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices. (#6502)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.

* Fix: unable to generate configuration file of Flyingvoice due to syntax error.

* Add the P1X, P2X, P3X, P5X, i86Box, iMetalBox, audioKit Series for Flyingvoice in Devices.
2022-12-03 14:46:40 -07:00
FusionPBX 7b9892b414
Add domain_json_token_name and domain_json_token_hash 2022-11-28 21:09:19 -07:00
Marvin Skeete dba7375faa
Update SIP Transport and Added Idle Screen vars (#6498)
<!--# P130 = 0-->
{if $account.1.sip_transport == 'udp'}P130 = 0{/if}
{if $account.1.sip_transport == 'tcp'}P130 = 1{/if}
{if $account.1.sip_transport == 'tls'}P130 = 2{/if}
{if $account.1.sip_transport == 'dns srv'}P130 = 1{/if}

<P340>{$grandstream_enable_idle_screen_download}</P340>
<P1349>{$grandstream_download_idle_at_boot}</P1349>
2022-11-24 21:07:22 -07:00
zrd740 c447dccd21
Update y000000000068.cfg (#6473)
Fixed a typo in call pickup variable setup for T41S to make it consistent with other yealink phone templates
2022-11-15 22:23:43 -07:00
FusionPBX 6a8bf567ae
Set user, admin and var passwords if isset is true 2022-11-11 10:22:16 -07:00
FusionPBX c4a46297a0
Add PHP ODBC 2022-11-08 09:45:04 -07:00
Dan 4a1913b447
Update to jQuery 3.6.1 (#6491)
This commit updates FusionPBX to use jQuery 3.6.1 and also adds a fallback to the other variable name for offhook autodial on the HT802.
2022-11-07 08:58:38 -07:00
FusionPBX d3ee256286
Remove these as they break PHP 7.0
Doesn't just break PHP 5.6 it also breaks PHP 7.0
2022-11-01 15:52:56 -06:00
FusionPBX ef98de7a8f
Update to match other recent SPA phones 2022-10-31 10:02:38 -06:00
FusionPBX 3796d6424e
Add RTP_Packet_Size set to 0.020 2022-10-31 09:56:37 -06:00
Alex b3f16569fd
Update multiple registration (#6488)
* Update {$mac}.cfg
2022-10-24 16:09:01 -06:00
FusionPBX bdbc1c2d4d
Fix dual registration 2022-10-24 10:45:04 -06:00
FusionPBX 7485757458
Change the timeout to 20 seconds 2022-10-21 11:43:53 -06:00
FusionPBX 4afc040efa
Add SMTP Timeout and SMTPKeepAlive 2022-10-21 11:43:14 -06:00
FusionPBX 88b43cfa14
If no handle return false
Splitting up the condition and return false for each condition works in all tests.
2022-10-20 16:18:55 -06:00
frytimo 2bdf0d382e
add isset($_REQUEST['debug']) before testing value for true (#6486)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-10-19 11:49:31 -06:00
FusionPBX 87ccce1867
Fix the sub data insert. 2022-10-18 13:04:16 -06:00
FusionPBX eacff4c797
Code is causing a larger issue removed for more testing. 2022-10-14 12:38:01 -06:00
FusionPBX 03ac05fc64
Moved to resources/require.php
Found a better home for this code.
2022-10-14 10:08:03 -06:00
FusionPBX 3b8d3b70ea
Include additional functions
Moved here from resources/functions.php
2022-10-14 10:07:14 -06:00
FusionPBX 3e8ea2015f
Use the error reporting defined in config.conf 2022-10-13 16:23:20 -06:00
FusionPBX 0a25c48b5d
event socket make fp public 2022-10-13 12:52:52 -06:00
FusionPBX 58d0a1ad8c
Make sure resource exists before using feof
This code changes prevents this error.

Warning: feof() expects parameter 1 to be resource, bool given
2022-10-13 11:26:53 -06:00
FusionPBX 2bcf6743a5
Ensure DOCUMENT_ROOT and PROJECT_PATH exist 2022-10-12 10:24:30 -06:00
FusionPBX 0a47fc22b3
Get the DOCUMENT_ROOT and PROJECT_PATH 2022-10-11 17:10:39 -06:00
FusionPBX b373e3c7fe
Needed to get DOCUMENT_ROOT and PROJECT_PATH 2022-10-11 15:53:18 -06:00
FusionPBX 227aa97adc
Use class_exists around auto_loader 2022-10-11 15:34:55 -06:00
FusionPBX 878e5a10eb
Update database method connect to use config.conf 2022-10-10 19:43:07 -06:00
FusionPBX 80d25cc088
Minor change from spaces to tabs 2022-10-10 19:37:47 -06:00
FusionPBX fe53483ed8
Update require.php 2022-10-10 16:59:57 -06:00
FusionPBX 83d2f4fe2c
Update login.php 2022-10-10 16:59:20 -06:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX 1c81f9c8b2
Replace config.php with config.conf 2022-10-10 13:16:32 -06:00
FusionPBX 6081a34833
Update {$mac}.xml (#6483)
* Update {$mac}.xml

* Update {$mac}.xml
2022-10-05 15:49:06 -06:00
FusionPBX 4d8496f4ad
Fix the event socket connected method
It was not detecting the connection to event socket correctly. 
This change resolve the high cpu usage for event guard.
2022-10-04 12:36:27 -06:00
FusionPBX aeec91fae8
Fix insert on for child data
Add a few try catch,
Add ; to the end of a few SQL queries
2022-09-30 12:46:44 -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
FusionPBX 0e163a8e68
Update {$mac}.xml 2022-09-27 08:58:20 -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
FusionPBX a355dda5b7
Fix a copy error.
Fixed the copy issue when the data includes insert_user, insert_update, update_user and update_date.
2022-09-20 13:56:54 -06:00
FusionPBX e29877e958
Move unset parameters outside of the debug
Unset of the parameters is required or can have parameters that interfere with other queries.
2022-09-19 09:30:20 -06:00
FusionPBX 4400618830
Sub array data use the child table name.
In Destination edit it was using the dialplan table name instead of child dialplan details table.
2022-09-18 04:47:17 -06:00
FusionPBX 50b66f8bea
If the domain_uuid is null the data is global.
This error broken dialplan edit when saving a global dialplan.
2022-09-18 03:08:18 -06:00
FusionPBX d5bd5957a4
Minor edit add a few spaces. 2022-09-18 02:59:58 -06:00
FusionPBX 7c2017bd03
On insert and update add the user and date 2022-09-18 02:57:43 -06:00
FusionPBX 2ff62f638b
Add a few minor changes for code consistency. 2022-09-18 02:13:33 -06:00
frytimo ba3b60b07b
Move database methods to static and document database class (#6474)
* Add new static method to created newly connected database object

* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.

* More docs & removed the ability to set any value within the object.

Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-09-17 15:44:21 -06:00
FusionPBX c9a661de6f
Optional to send syslog message for the cache delete and flush 2022-09-10 11:40:59 -06:00
Joyce Babu ae7c312136
Add Telekonnectors Galaxy 1000 Plus template (#6469) 2022-09-07 16:36:03 -06:00
Norman King 7369409648
Allow setting hanging group mode on a per line basis for grandstream … (#6472)
* allow setting hanging group mode on a per line basis for grandstream dp bases.

* Keep grandstream_hanging_group_mode for better backwards compatibility.
2022-09-07 16:24:49 -06:00
FusionPBX a43388bace
Increase the timeout to 30000 microseconds.
30,000 Microseconds = 0.03 Seconds. Longer timeout reduces the CPU. If the timeout is too long then the Status -> SIP STATUS page will take longer to load.
2022-08-27 16:45:07 -06:00
frytimo 09dbdfb79f
Removed usleep command (#6468)
* Removed usleep command

* Update event_socket.php
2022-08-26 16:53:25 -06:00
FusionPBX 56de8714fa
Add base.active_handset.number = 8 to Yealink w60b
#Sets the amount of active handsets allowed on the base station, options are 4 or 8
base.active_handset.number = 8
2022-08-26 14:45:19 -06:00
FusionPBX b8f1eb7f10
Add function to check if we are connected to event soscket 2022-08-26 11:48:47 -06:00
frytimo 6bb6ae6b2b
Fix PHP warning for PDO::setAttribute() requires 2 parameters (#6464)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-08-24 14:09:33 -06:00
yois615 04d3b0bfe0
[ht814] Grandstream escape html and sip_port (#6457) 2022-08-22 11:11:23 -06:00
Harry Foster 3d0fe368ac
Adding the Yealink Tone Country setting to all templates, and including two more minor revisions of handsets that have been released. (#6458)
* Added two new minor hardware revisions, the CP925 and T42U, and added the voice.tone.country = {} to all templates, previously missing on most

* Minor typo from a wrong window issue, and removing the commented examples for easier grepping
2022-08-22 11:10:24 -06:00
Joyce Babu 6365b28cf2
Add Telekonnectors Galaxy 1000 template. (#6442) 2022-08-20 09:28:15 -06:00
FusionPBX ea9b9ce621
Update additional occurances of PDO::PGSQL_ATTR_DISABLE_PREPARES 2022-08-18 17:53:33 -06:00
FusionPBX 2783cbd251
Update database.php 2022-08-18 17:39:51 -06:00
FusionPBX 98b19d1f22
Only add PDO::PGSQL_ATTR_DISABLE_PREPARES for versions of PHP that support it. 2022-08-18 17:37:43 -06:00
FusionPBX 00c9452e13
Add a line feed to the Yealink T58w after outbound_proxy_enable 2022-08-10 22:50:55 -06:00
FusionPBX 59b42035e4
directory.xml 2022-08-09 14:13:53 -06:00
FusionPBX d67fa590bd
Update internal-ipv6.xml.noload 2022-08-09 10:31:30 -06:00
FusionPBX d9c2388975
Update internal.xml.noload 2022-08-09 10:30:46 -06:00
FusionPBX df3a492816
Update external.xml.noload 2022-08-09 10:30:23 -06:00
FusionPBX d4572fcb0f
Update internal.xml.noload 2022-08-09 10:29:19 -06:00
FusionPBX 8431d419ca
Reduce round trips to the database server.
Add PDO attribute:  PDO::PGSQL_ATTR_DISABLE_PREPARES
https://prototype.php.net/manual/en/ref.pdo-pgsql.php
2022-08-08 16:58:52 -06:00
FusionPBX 38fa7591d5
Add the acl and move the dtmf-type. 2022-08-06 17:10:59 -06:00
FusionPBX 4d88052984
Add a description for track-calls 2022-08-06 17:04:01 -06:00
FusionPBX 6299e91d76
Sync up the external-ipv6 SIP Profile 2022-08-06 17:01:16 -06:00
FusionPBX eea25a336d
Sync up the internal ipv6 SIP Profile 2022-08-06 16:35:10 -06:00
FusionPBX 6e746c89a4
Sync up the external SIP Profile 2022-08-06 15:47:36 -06:00
FusionPBX 174a72a9fa
Sync up the internal SIP Profile 2022-08-06 15:29:18 -06:00
Mendel 86fe4fe1b0
sip listen port yealink cordless (#6450) 2022-08-04 12:23:11 -06:00
markjcrane 2f67b36276 Add add a provison variable for cp_source 2022-08-04 11:52:08 -06:00
emak 3ec9cdaba1
Update deprecated sip profile params (#6445)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update external.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:38:35 -06:00
garryavx 53c20a156e
Update y000000000035.cfg (#6443)
this way the $yealink_t48g_wallpaper_filename actually gets used for both the check and the setting of the wallpaper itself.
2022-08-01 08:37:52 -06:00
emak 2f8ba11520
Update deprecated sip profile params (#6444)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update external-ipv6.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:37:24 -06:00
emak 9bd300db84
Update deprecated sip profile params (#6446)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update internal-ipv6.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:34:53 -06:00
emak 305ba420dc
Update deprecated sip profile params (#6447)
* Update deprecated sip profile params

Parameter names have changed. See here: https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files

When starting a profile, the following warnings would appear:
[WARNING] sofia.c:5332 rtp-hold-timeout-sec deprecated use media_hold_timeout variable.
[WARNING] sofia.c:5325 rtp-timeout-sec deprecated use media_timeout variable.

Updating the parameters fixes the issue.

* Update internal.xml.noload

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2022-08-01 08:33:59 -06:00
markjcrane d881ca7af6 Revert "Not using momentjs so removing it"
This reverts commit 11fb638d2d.
2022-08-01 08:00:35 -06:00
FusionPBX 7a71f0bf0a
Less CPU used to listen to event socket. 2022-07-31 10:15:42 -06:00
Antonio Fernandez 96df02b398
adding template support for call waiting tone (#6441) 2022-07-25 09:54:44 -06:00
Jesse Gruver 0e9b8f15b5
Added grandstream_show_key_labels and other default values. (#6438) 2022-07-22 13:02:51 -06:00
FusionPBX dfa60ba49a
Update timezones.conf.xml 2022-07-18 20:21:05 -06:00
markjcrane 4ee607eb83 Change RTP_Packet_Size from 0.030 to 0.020 2022-07-15 09:25:32 -06:00
markjcrane 11fb638d2d Not using momentjs so removing it 2022-07-15 09:07:01 -06:00
FusionPBX cacdc51899
Add provision settings snom_user_auto_connect_1 to snom_user_auto_connect_4, and snom_user_ringer_1 - snom_user_ringer_4 2022-07-12 15:24:52 -06:00
FusionPBX 084e36d0a0
Sanitize the menu link by restricting it to specific characters. 2022-07-08 18:38:13 -06:00
FusionPBX 6780949019
Remove LOG_LOCAL0 from openlog it caused the output to the console. 2022-07-08 14:46:21 -06:00
FusionPBX 767937260d
Limit this to run only with the web server. 2022-07-08 14:21:29 -06:00
garryavx 24962e4033
Update y000000000066.cfg (#6415)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:27:01 -06:00
garryavx be98ea3fea
Update y000000000028.cfg (#6414)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:54 -06:00
garryavx 3838c55fae
Update y000000000067.cfg (#6413)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:50 -06:00
garryavx fb5aae1fb0
Update y000000000029.cfg (#6412)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:45 -06:00
garryavx 216383b3b1
Update y000000000035.cfg (#6416) 2022-06-30 10:26:19 -06:00
garryavx e7651c0456
Update y000000000065.cfg (#6417)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:11 -06:00
garryavx 930f813057
Update y000000000096.cfg (#6418)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:26:00 -06:00
garryavx d2d79f3f0b
Update y000000000056.cfg (#6419)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:52 -06:00
garryavx 35d1e28a23
Update y000000000097.cfg (#6420)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:42 -06:00
garryavx d8fb60b11e
Update y000000000058.cfg (#6421)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:35 -06:00
garryavx c3a9987868
Update y000000000058.cfg (#6422)
This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-30 10:25:16 -06:00
garryavx 6dbe626b56
Update y000000000150.cfg (#6423)
* Update y000000000150.cfg

This should be paired with a default setting to match. it controls the behavior of the headset if you make a call while it is connected. by default (0), yealink phones will not connect the call via the headset. if you set it to 1, the phone will immediately start using the headset for the call, instead of requiring you to press the headset button after dialing.
2022-06-25 12:07:58 -06:00
FusionPBX 9c176e31e5
Simplify the Yealink T41s Template 2022-06-25 11:20:55 -06:00
FusionPBX 39ed9d80b1
Update {$mac}.xml 2022-06-24 15:43:04 -06:00
FusionPBX 74fcfdc5a9
Update {$mac}.xml 2022-06-24 15:42:49 -06:00
FusionPBX d6c02e8694
Update {$mac}.xml 2022-06-24 15:41:45 -06:00
FusionPBX 44dedb9acf
Set disabled when the device key type is disabled. 2022-06-24 15:41:13 -06:00
FusionPBX 7983bee43d
Update {$mac}.xml 2022-06-24 15:40:36 -06:00
FusionPBX f450a1c9bb
Use Disabled when the device key type is set to disabled. 2022-06-24 15:40:15 -06:00
FusionPBX c36f1c3968
Cisco 8851 spacfg.xml after factory default 2022-06-24 14:19:57 -06:00
FusionPBX dd7117fbbe
While in a call put blind transfer and transfer first. (#6431)
* While in a call put blind transfer and transfer first.
2022-06-21 17:37:59 -06:00
FusionPBX c076fae485
Use # instead of * to prevent *97 conflict with voicemail. (#6430)
* Use # instead of * to prevent *97 conflict with voicemail.
2022-06-21 17:25:11 -06:00
Dan f6c64054fa
Add missing $ to variables in HT802 template (#6427)
* 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)

* added default settings for grandstreams
added "grandstream_configuration_via_keypad" and
"grandstream_dhcp_time_zone" as settings
also changed "grandstream_long_label" to 1

* Add custom transcription providers to email queue, fix spelling error

* Correct missing $ in Grandstream template

Co-authored-by: Jesse Gruver (piajesse) <me@piajesse.com>
2022-06-21 16:04:28 -06:00
nacircoronado 2620f9e266
Spanish change cerca to cerrar. (#6428)
* Spanish change cerca to cerrar.

* Update app_languages.php
2022-06-21 15:31:35 -06:00
markjcrane 1fa04dd8a5 Add additional Fanvil templates 2022-06-07 19:58:36 -06:00
FusionPBX 1199269347
When the cache is deleted log details to the syslog server. 2022-06-01 22:28:12 -06:00
Mendel 9fc81c880c
Update 12-24 hour variable (#6404)
Checked on the Yealink cordless base and found a different variable for the time format.
2022-06-01 21:49:17 -06:00
FusionPBX ad3a4825a1
Use a log prefix that makes more sense. 2022-06-01 18:57:33 -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
Antonio Fernandez 7bbbc4e895
Settings Refresh Timer has been added to the templates and new variable (#6402)
* Settings Refresh Timer has been added to the templates and new variable

* changed the variable name to a better name $snom_provision_timer_seconds
2022-06-01 09:32:22 -06:00
FusionPBX 795254a421
Add http_auth, STUN and NTP. 2022-05-31 21:56:12 -06:00
FusionPBX 6440e4362d
Add http_auth, STUN and NTP 2022-05-31 21:54:30 -06:00
FusionPBX d3533931df
Update {$mac}.xml 2022-05-31 21:34:43 -06:00
FusionPBX ae3e7ba9cb
Add a new Panasonic utg200b template. 2022-05-31 21:34:24 -06:00
FusionPBX 27c03ae80b
Add new panasonic utg300b template. 2022-05-31 21:29:15 -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
FusionPBX fd67765c74
Correct the Provisioning information 2022-05-25 09:25:23 -06:00
Antonio Fernandez e851245c86
Snom templates - added per model wallpaper settings (#6391) 2022-05-25 08:39:39 -06:00
FusionPBX b1e2d3312d
Initial version of fanvil v67 configuration. 2022-05-25 08:31:34 -06:00
Mendel 1be00e330e
updated yealink cordless files (#6396) 2022-05-24 23:32:56 -06:00
FusionPBX 41e96f691e
Add voicemail BLF. 2022-05-19 09:38:31 -06:00
FusionPBX 8c4ad43fbc
Fix spelling in accountcode description 2022-05-16 09:13:29 -06:00
FusionPBX 22db796b11
Adds an extra line so that internet_port_vid doesn't show up on the same line. 2022-05-12 10:31:41 -06:00
markjcrane 6c2ebbc28c Correct the template syntax 2022-05-12 10:24:39 -06:00
FusionPBX 6247cddddc
Add ${yealink_call_info_display_method} variable (#6383)
* Add ${yealink_call_info_display_method} variable

* Update y000000000074.cfg

* Update y000000000095.cfg

* Update y000000000070.cfg

* Update y000000000058.cfg

* Update y000000000097.cfg

* Update y000000000150.cfg
2022-05-12 09:49:02 -06:00
Ben 94ec533ca1
Updated multiple items including jitter buffer, echo cancellation and DND (#6382) 2022-05-11 18:30:54 -06:00
Anthony 269aeccde9
Update y000000000095.cfg (#6381) 2022-05-11 15:58:26 -06:00
Anthony 1de40cbaf6
Update y000000000096.cfg (#6380) 2022-05-11 15:58:14 -06:00
Anthony b32dfe4025
Update y000000000056.cfg (#6379) 2022-05-11 15:58:03 -06:00
Anthony 8e3b136ca4
Update y000000000058.cfg (#6378) 2022-05-11 15:57:54 -06:00
Anthony c6e1e5e08d
Update y000000000096.cfg (#6377) 2022-05-11 15:57:46 -06:00
Anthony decdee0d0c
Update y000000000095.cfg (#6376) 2022-05-11 15:57:38 -06:00
Anthony 47fc0edfde
Update y000000000091.cfg (#6375) 2022-05-11 14:18:14 -06:00
Anthony 9d154ba66d
Update y000000000070.cfg (#6374) 2022-05-11 14:17:57 -06:00
Anthony fbd09820a8
Update y000000000029.cfg (#6373)
* Update y000000000029.cfg

Added ${yealink_call_info_display_method} setting to template

* Update y000000000067.cfg

* Update y000000000107.cfg

* Update y000000000028.cfg

* Update y000000000066.cfg

* Update y000000000108.cfg

* Update y000000000035.cfg

* Update y000000000065.cfg

* Update y000000000109.cfg

* Update y000000000051.cfg

* Update y000000000028.cfg

* Update y000000000029.cfg

* Update y000000000036.cfg

* Update y000000000054.cfg

* Update y000000000065.cfg

* Update y000000000066.cfg

* Update y000000000067.cfg

* Update y000000000068.cfg

* Update y000000000076.cfg

* Update y000000000107.cfg

* Update y000000000108.cfg

* Update y000000000109.cfg

* Update y000000000116.cfg
2022-05-11 14:17:12 -06:00
AlexC a752ab76dc
Add yealink_call_info_display_method (#6372)
* Update y000000000068.cfg

* Update y000000000036.cfg

* Update y000000000054.cfg

* Update y000000000076.cfg

* Update y000000000124.cfg

* Update y000000000044.cfg

* Update y000000000052.cfg

* Update y000000000069.cfg

* Update y000000000046.cfg

* Update y000000000045.cfg

* Update y000000000069.cfg

* Update y000000000044.cfg

* Update y000000000044.cfg

* Update y000000000052.cfg
2022-05-11 14:03:40 -06:00
Ben dd44b54082
Update template with array and other minor changes (#6369) 2022-05-11 13:05:45 -06:00
FusionPBX 3dd7d3cdf4
BLF for Call Center Agents
Updated when the phone registers.
2022-05-09 21:21:41 -06:00
FusionPBX 60e484e8f5
Default settings overridden by domain SMTP settings
Fixed a regressions where the domain SMTP settings were ignored.
2022-05-05 19:41:38 -06:00
Luis Daniel Lucio Quiroz ca921e88ac
Fixes NULL in _SESSION[context] (#6360)
* Update check_auth.php

* Update domains.php
2022-05-05 09:04:19 -06:00
Mendel ea337e42ae
Update polycom configs each separate (#6363)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone

* Added all the Polycom Templates separately

* Update app_config.php

* Update app_config.php

* Delete resources/templates/provision/polycom/IP321 directory

* Revert "Delete resources/templates/provision/polycom/IP321 directory"

This reverts commit 6f532a37bb.

* Delete resources/templates/provision/polycom directory

* Working on making the file Lowercase

* Still working on making it lowercase

* Update the Description of Polycom Firmwares

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Updated the name of the Sound Station Duo to just Duo

* Update app_config.php
2022-05-04 15:19:53 -06:00
Ben 06d51a9b0b
Update y000000000150.cfg (#6354) 2022-04-26 13:42:53 -06:00
Ben 38d2adfae5
line keys and DND (#6348) 2022-04-23 11:03:09 -06:00
Ben f79ffa7a2d
Initial provisioning registration info (#6347) 2022-04-21 18:00:48 -06:00
FusionPBX c6a36cdf45
Fix the email attachments that are being sent through the email queue. 2022-04-19 00:48:04 -06:00
FusionPBX 72b9d4383e
Do a better job extracting information for the form and recipients. 2022-04-17 15:37:17 -06:00
FusionPBX 1585a42256
Add parse method to the email class. 2022-04-16 22:57:03 -06:00
FusionPBX 45f9d9aaa5
Rewrite the send_email function to use the email class. 2022-04-15 18:03:40 -06:00
FusionPBX f25fc53c62
Add a new email class. 2022-04-15 17:58:40 -06:00
ggflow e2c896bbf3
Add DND Variable to Yealink T54W Template (#6343) 2022-04-12 22:27:39 -06:00
FusionPBX ee8a316e8f
Add the yealink common cfg file. 2022-04-12 18:02:43 -06:00
FusionPBX e678f6af34
Create y000000000000.boot 2022-04-12 17:53:59 -06:00
FusionPBX 8eee50e12a
Create favorite_setting.xml 2022-04-12 17:41:01 -06:00
FusionPBX a3fced2804
Create directory.xml 2022-04-12 17:40:31 -06:00
FusionPBX a85d6dd4f1
Add Yealink T58W mac.cfg file. 2022-04-12 17:39:31 -06:00
FusionPBX 0e0153ceea
Add mod_av to post_load_modules.conf.xml. 2022-04-12 14:10:03 -06:00
FusionPBX b5ccc12050
Add video-mcu-stereo profiles 2022-04-04 18:43:40 -06:00
FusionPBX f4a658959b
Update functions.php 2022-04-03 03:11:22 -06:00
Marvin Skeete 504228c2f8
Add grandstream_idle_screen_server_path setting (#6336)
Idle Screen XML Server Path
2022-03-30 22:06:43 -06:00
nyash 0bc048a634
Add/edit some polish translations (#6327)
* Add/edit some polish translations

* Minor touches to polish translations
2022-03-26 14:30:02 -06:00
FusionPBX eb5f6afb5e
Temporarily exclude the email_queue function transcribe. 2022-03-22 14:07:22 -06:00
FusionPBX cdcfcfd520
Include additional functions 2022-03-22 00:15:35 -06:00
chansizzle 003b8d1a04
allow yealink swap/hold button behaivor change (#6329)
* allow yealink swap/hold button behaivor change

* allow yealink swap/hold button behaivor change

* Update y000000000065.cfg

* Update y000000000095.cfg

* Update y000000000095.cfg

* Update y000000000096.cfg

* Update y000000000097.cfg
2022-03-18 10:13:38 -06:00
agree 81666dd882
[login] fix url redirection (#6325)
* prevent open redirection attack
2022-03-10 20:10:16 -07: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
Luis Daniel Lucio Quiroz 8b3f7752a7
Fixes the blank password issue (#6322) 2022-03-09 15:11:30 -07:00
agree 758276d372
[Yealink] T54W Add DND code variables (#6321) 2022-03-07 14:25:04 -07:00
Harry Foster a449ac3774
Removing invalid lines, appears to be a dodgy concatenation (#6319) 2022-03-01 15:19:25 -07:00
FusionPBX 8b531c400a
Update internal.xml.noload 2022-03-01 15:11:39 -07:00
FusionPBX da414a3572
Session timer changes for external-ipv6 profile 2022-03-01 09:53:13 -07:00
FusionPBX d7d8fcc6be
Session timer changes for external profile 2022-03-01 09:52:28 -07:00
FusionPBX 5c117b2a3e
Update internal-ipv6.xml.noload 2022-03-01 09:51:20 -07:00
FusionPBX 6b20ad8bf6
Session timer changes for internal profile 2022-03-01 09:50:19 -07:00
FusionPBX d272c16835
Session timer changes for internal-ipv6 profile 2022-03-01 09:46:36 -07:00
Mendel a2c74376f9
Yealink dialnow patchs (#6320) 2022-02-28 18:02:27 -07:00
FusionPBX 85778bd3ec
Adjust smtp_secure to work better when not using TLS. 2022-02-28 13:43:04 -07:00
shing6326 176205a6ee
add grandstream wp810 template (#6316) 2022-02-21 21:51:18 -07:00
agree 81bf5f496c
[email validation] improve validation to conform the RFC (#6232)
The current validation regex didn't conform with RFC 5322 PHP `filter_var` does.
More information can be found https://en.wikipedia.org/wiki/Email_address#Local_part
2022-02-19 11:38:00 -07:00
Antonio Fernandez 923c748073
Wallpaper setting added to provisioning template (#6312)
* Wallpaper setting added to provisioning template

* Wallpaper setting added to provisioning template

* Wallpaper setting added to provisioning template

* Wallpaper setting added to provisioning template

* Wallpaper setting added to provisioning template

* Wallpaper setting added to provisioning template

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml

* Update {$mac}.xml
2022-02-18 14:21:26 -07:00
agree a62c668970
[yealink] fix g722 enable (#6310) 2022-02-16 07:59:37 -07:00
FusionPBX fe099e4dfb
Update event_socket.php 2022-02-14 14:08:46 -07:00
FusionPBX 2e62e0316b
Set this value to 20.
Improves page load times for pages using event socket.
2022-02-14 11:55:10 -07:00
fusionate 9e96bd5dfa
Theme: Side Menu - Setting to control submenu close behavior. 2022-02-11 20:47:17 -07:00
FusionPBX b57dbc919f
Update app.unavailable for Android based phones. (#6309)
* Update app.unavailable

* Update y000000000073.cfg

* Update y000000000058.cfg

* Update y000000000091.cfg
2022-02-11 17:56:50 -07:00
KRooney 675d4362f4
Update {$mac}.cfg (#6306)
add {$fanvil_app_icon_display} to Enable or Disable App Icon on the phone display.
2022-02-11 16:35:28 -07:00
KRooney dbc5e6f144
Update {$mac}.cfg (#6304)
add {$fanvil_app_icon_display} to Enable or Disable App Icon on the phone display.
2022-02-11 16:35:14 -07:00
KRooney 38d68cca85
Update {$mac}.cfg (#6303)
add {$fanvil_app_icon_display} to Enable or Disable App Icon on the phone display.
2022-02-11 16:35:04 -07:00
KRooney 54028fee77
Update {$mac}.cfg (#6302)
add {$fanvil_app_icon_display} for Enable or Disable App Icon on the phone display.
2022-02-11 16:34:57 -07:00
KRooney 994640c505
Update {$mac}.cfg (#6301)
add {$fanvil_app_icon_display} for Enable or Disable App Icon on the phone display.
2022-02-11 16:34:34 -07:00
Antonio Fernandez 4c59f711f0
Yealink template consistency (#6284)
Changes to make the templates a bit more consistent while also fixing some typos and creating a new variable for the NAT Update setting.

By default, the account.x.nat.udp_update_enable is set to "3" which means to have the phone periodically send NOTIFY messages. This is not the case though on additional accounts. This makes for inconsistent configs that sometimes cause issues with phones ringing.

This fixes the issue while also giving the ability to use a variable to set it.
2022-02-11 13:10:23 -07:00
FusionPBX b3a63040dc
Update y000000000058.cfg 2022-02-03 11:02:30 -07:00
FusionPBX 295b6f7bfb
Add yealink_app_unavailable to t58v 2022-02-03 11:01:16 -07:00
KRooney f43d104516
Update app_languages.php (#6281) 2022-01-31 12:35:58 -07:00
FusionPBX 1cc629efd3
Update PHPMailer to version 5.2.28 (#6282)
* Update class.phpmailer.php

* Update class.pop3.php

* Update class.smtp.php
2022-01-31 12:34:48 -07:00
FusionPBX 158391c5ec
SMTPAuth change from string to boolean true or false.
- Build the SMPTOptions array in a more flexible way
- And add an SMPT pption to set the crypto_method
2022-01-31 12:27:44 -07:00
markjcrane fcc9d6186c Fix the syntax 2022-01-30 13:24:54 -07:00
markjcrane eda3ddfd28 Use if is_array to prevent a warning 2022-01-30 13:20:51 -07:00
markjcrane 8372fa61f8 change the switch phrases to switch languages 2022-01-30 13:08:49 -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
FusionPBX feb06d6e92
Update post_load_switch.conf.xml 2022-01-26 13:15:50 -07:00
FusionPBX cf7bfa911d
Update switch.conf.xml 2022-01-26 13:10:25 -07:00
FusionPBX 5cad57e5a7
More convenient to to set the SIP ports in the SIP Profiles. 2022-01-26 12:30:42 -07:00
FusionPBX 9414f0c935
Update post_load_switch.conf.xml 2022-01-26 11:49:44 -07:00
FusionPBX 63ac177ebe
Fixes an error 'Strict Standards: Only variables should be passed by reference'
Would see this on some systems when saving call forward
2022-01-24 15:33:34 -07:00
markjcrane f3dacc581b Use yealink_trust_certificates 0-Disabled, 1-Enabled instead of false and true 2022-01-24 14:35:31 -07:00
FusionPBX d67b9597f1
Update directory XML to handle the contacts information. (#6256)
* Update directory XML to handle the contacts information.

Better conditions to use all contact name variations.
2022-01-22 20:05:35 -07:00
TNSSF 2349c584a2
Update to add variables for expansion module background (#6253)
The expansion module can use a different background image

The wallpaper_upload.url setting in yealink can be used multiple times to download multiple images.

setup for 2 more variable:
$yealink_t46u_wallpaper_expansion
and 
$yealink_t46u_wallpaper_expansion_filename

This is only a template update. I did not push any additional varaibles up into the default settings.
2022-01-22 13:07:52 -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
FusionPBX b8e87d2d75
Improve yealink phonebook for contact organization (#6254) 2022-01-21 22:47:16 -07:00
FusionPBX a6ae75bf10
Fix a syntax error in the Polycom 5.x and 6.x templates. (#6247)
* Fix a syntax error
* Update {$mac}.cfg
2022-01-19 10:25:05 -07:00
Timothy Willey 844cdb480b
enable customization of emergency numbers on polycom phones (#6148) 2022-01-17 21:42:58 -07:00
KRooney 70b08527a5
Update {$mac}.cfg (#6202)
fix dss key not provisionning
2022-01-17 21:07:39 -07:00
KRooney 74cebb72e5
Update {$mac}.cfg (#6200) 2022-01-17 21:05:18 -07:00
Antonio Fernandez d3c0f3ac34
Removing {$row.display_name} from the line button (#6233)
The reason I think this should be removed is because setting the label on this model of phone removes the ability to see status of the line button.

For example (without the label), if I have a call on hold on my first line button, it will show the caller's number and the state of that call. For example: "4165551234 holding"

When you put the label, it removes that great feature.
2022-01-10 22:36:57 -07:00
FusionPBX a432996055
Add missing part of the array. 2022-01-09 06:41:25 -07:00
FusionPBX 2c096c9e01
Only load default settings that are not in the database. 2022-01-08 16:22:03 -07:00
agree 37d3baa773
[Yealink] add ringing_timeout variable (#6227) 2022-01-06 17:11:34 -07:00
smeyernyc b90547ca2a
Many yealink changes and fixes (#6228)
* Create directory.xml

* More Yealink fixes

-Spelling
-Wrong var
-Updated power_saving schema to be uniform across all devices to best written variable logic. - Good job whoever built it. IF YOU HAVE SET THIS UP IN THE PAST IN THE OLD FORMAT IT MAY BREAK. $yealink_powersave_* vars have been depreciated in favor of $yealink_ps_* since logic has been built to allow more with less total vars.
-Added some documentation
2022-01-06 17:10:44 -07:00
smeyernyc 61844e6823
Update y000000000109.cfg (#6226) 2022-01-04 20:47:24 -07:00
smeyernyc 7579393f2f
Updates to yealink provisioning (#6224)
* Create directory.xml

* Update app_config.php
2022-01-04 12:38:49 -07:00
smeyernyc 82d1c9abbf
create provision file for w73/76/79p technically it can support 10 ac… (#6219)
* create provision file for w73/76/79p technically it can support 10 accounts but screw it, 8 is fine.

* Create directory.xml

* Create favorite_setting.xml

* Create y000000000146.cfg

* Create y000000000000.boot

* Update app_config.php

* Update y000000000000.boot

* Update app_config.php
2022-01-04 10:53:59 -07:00
Mendel 64d1f3862d
Yealink dialnow patchs (#6206)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone

* Update app_config.php

* Update y000000000053.cfg

* Update y000000000007.cfg

* Update y000000000052.cfg

* Update y000000000005.cfg

* Update y000000000066.cfg

* Update y000000000108.cfg

* Update y000000000124.cfg

* Update y000000000065.cfg

* Update y000000000004.cfg

* Update y000000000044.cfg

* Update y000000000097.cfg

* Match the yealink default

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2021-12-31 13:03:40 -07:00
FusionPBX b6908307c1
Add yealink_ring text and file 1 to 10 2021-12-30 15:47:37 -07:00
FusionPBX 222ff82c85
Add yealink_ring text and file 1 to 10 2021-12-30 15:46:48 -07:00
FusionPBX 55d73302fb
Add yealink_ring text and file 1 to 10 2021-12-30 15:45:41 -07:00
Ben 335d58a106
Add new Yealink t48u template. (#6218)
* Add new Yealink t48u template.

* Create favorite_setting.xml

* Create y000000000000.boot

* Create super_search.xml

* Create webitemslevel.cfg

* Create y000000000108.cfg

* Delete webitemslevel.cfg

* Rename y000000000108.cfg to y000000000109.cfg
2021-12-30 15:38:10 -07:00
Mendel d88ab02270
Rabbidiesel polycom (#6197)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}-registration.cfg
2021-12-15 14:58:05 -07:00
Mendel 42b52ae8fc
Update dispaly_name to label on all Yealink Templates (#6196)
* Use label instead of display name

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg

* Update {$mac}.cfg
2021-12-15 14:41:12 -07:00
FusionPBX ad5a57a379
Add label users and group 2021-12-14 16:02:09 -07:00
agree ee29867e2b
grandstream ht801 fix fax mode (#6177) 2021-12-07 12:14:06 -07:00
FusionPBX dd106a6871
Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
AlexC 4e7972aa4d
Update menu.php (#6164) 2021-11-30 15:39:15 -07:00
AlexC 70b876f5da
Add user header and domain icon to menu.php (#6160) 2021-11-30 08:35:40 -07:00
FusionPBX 7c6ed79d6c
usleep 1 million is 1 second 2021-11-26 21:30:39 -07:00
FusionPBX bfbfca96e3
Use the new PHP auto_loader.php file. 2021-11-26 13:13:04 -07:00
FusionPBX 91f2721925
Create auto_loader.php 2021-11-26 13:11:20 -07:00
FusionPBX 750177a51d
Remove cidr from the pdo.php file.
This was an awkward place for this code so moved it into its own include.
2021-11-26 12:35:45 -07:00
FusionPBX ef5e5175c4
Update cidr.php 2021-11-26 12:34:38 -07:00
FusionPBX 1aaf1aa2fa
Add the new cidr.php file. 2021-11-26 12:34:02 -07:00
FusionPBX 9fe891e64c
Create cidr.php 2021-11-26 12:32:19 -07:00
Mendel c4c6524023
Updated Yealink t33g (#6158)
* Update provision.php

* Update y000000000124.cfg

Added {$yealink_dnd_allow} so that you can remove DND from the phone
2021-11-26 11:32:37 -07:00
AlexC 68df3ecfcc
Add Sortablejs library (#6149) 2021-11-23 18:32:20 -07:00
Timothy Willey 57a6930cf9
Add new Polycom provisioning default settings for polling (#6097)
* Add Polycom provisioning default settings, and update provisioning templates to support for additional polling options for supported versions (4.x, 5.x, 6.x)

* semicolons
2021-11-16 13:36:51 -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
Andy Binder 99c049ab6f
Add "Grandstream HT814" provisioning template (#5988) 2021-11-16 12:44:54 -07:00
Vincent 8150545c60
Fix: unable to generate configuration file of Flyingvoice due to syntax error. (#6101)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.

* Fix: unable to generate configuration file of Flyingvoice due to syntax error.
2021-11-16 12:43:07 -07:00
FusionPBX af3c1bb193
Update the URL to the dashboard 2021-11-13 15:28:42 -07:00
zrd740 f9e2267e99
Added variables to configure screensaver (#6070)
I made sure that the variable I added was consistent with the same naming convention for T46S,
2021-11-13 11:19:58 -07:00
Jason Kinner f09d6c191d
Add grandstream_disable_active_mpk_page variable (#6088)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:03:09 -07:00
Jason Kinner 290b331081
Add grandstream_disable_active_mpk_page variable (#6083)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:02:18 -07:00
Jason Kinner 5677fb94a3
Add grandstream_disable_active_mpk_page variable (#6086)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:01:52 -07:00
Jason Kinner 3239eb9fd2
Add grandstream_disable_active_mpk_page variable (#6087)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:01:33 -07:00
Jason Kinner 2eb35b777f
Add grandstream_disable_active_mpk_page variable (#6089)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:01:21 -07:00
Jason Kinner c2f406c954
Add grandstream_disable_active_mpk_page variable (#6084)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:00:59 -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
Jason Kinner efebe83519
Add grandstream_disable_active_mpk_page variable (#6082)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:00:32 -07:00
Jason Kinner f22be38632
Add grandstream_disable_active_mpk_page variable (#6081)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 11:00:14 -07:00
Jason Kinner d731fefb5e
Add grandstream_disable_active_mpk_page variable (#6078)
Allows active mpk page on expansion module (GXP2200EXT) to be disabled.
2021-11-13 10:59:14 -07:00
Jason Kinner 2a5c7cd7ce
Add grandstream_disable_active_mpk_page variable (#6090)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 10:58:55 -07:00
Jason Kinner c6027b574e
Add grandstream_disable_active_mpk_page variable (#6080)
Allows the active mpk page to be disabled on expansion modules
2021-11-13 10:58:20 -07:00
FusionPBX 7a7d27bf19
Use the new dashboard. 2021-11-10 08:27:53 -07:00
AlexC 868c86d4f9
Delete resources/jquery/flot directory (#6099)
No longer using jquery flot, now using Chart.js.
2021-11-05 15:12:46 -06:00
AlexC ff60086480
Create chartjs-adapter-date-fns.bundle.min.js (#6093) 2021-11-04 10:18:41 -06:00
AlexC 1f5d7e9077
Create chart.min.js (#6092) 2021-11-04 10:15:19 -06:00
FusionPBX a30701ea7c
Disable system commands by default. 2021-11-03 17:26:43 -06:00
FusionPBX fc35482f74
Improve mailer error handling for the send_email function. 2021-10-27 09:43:24 -06:00
FusionPBX 356b50531b
Fix the class cache set method. 2021-10-26 00:30:30 -06:00
FusionPBX f9f730024c
Create the $fp handle 2021-10-14 00:41:56 -06:00
Vincent a0338c554a
Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings. (#6057)
* Fix the registration failed after provision Flyingvoice phone.

* Fix the parameter configuration of Flyingvoice not displayed in the Default Settings

* Fix: after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable and the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix after configuring SIP line 1 of Flyingvoice phone, other SIP lines are disable.
* Fix the configuration parameters of Flyingvoice are not displayed by default settings.

* Fix: when only one sip line's shared line is enable, the shared lines of all SIP lines will be enable.
2021-10-14 00:30:31 -06:00
FusionPBX d51a940d0f
If the cidr is empty then return false. 2021-10-11 01:37:53 -06:00
FusionPBX d682dcc717
Update the format_string function 2021-10-08 16:38:48 -06:00
FusionPBX 04b26ac471
Add polycom_ring_type and polycom_ring_type_private to the polycom 5.x template. 2021-09-24 21:17:12 -06:00
FusionPBX 82040959b4
Create cfg{$mac}.xml 2021-09-18 16:32:19 -06:00
FusionPBX eacecf928f
Create cfg{$mac}.xml 2021-09-18 16:31:22 -06:00
FusionPBX bdb4ee50cd
Use a loop in the yeastar ta200 template. 2021-09-18 16:29:28 -06:00
Ben 25cc0e14d3
Added an array replacing the account #'s and a few cosmetic changes (#6053)
* Added an array replacing the account #'s and a few cosmetic changes
2021-09-18 10:59:33 -06:00
Vincent 8b8aa09f40
Fix the registration failed after provision Flyingvoice phone. (#6054) 2021-09-16 09:09:05 -06:00
FusionPBX 408b13238e
Use include instead of require_once. 2021-09-13 11:52:12 -06:00
FusionPBX d191ea77d7
Remove code that is no longer needed. 2021-09-12 19:37:00 -06:00
FusionPBX dc8c2f1df6
Update domains class to use the database class. 2021-09-12 15:29:28 -06: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
FusionPBX 0d37d34c94
Delete users.php 2021-09-04 08:48:11 -06:00
FusionPBX 08c1fdc1d9
Update cache.php
A few minor changes.
2021-09-03 22:35:33 -06:00
Jason Kinner a1439b896e
Add existing {$yealink_fwd_allow} variable (#6022) 2021-09-02 12:15:12 -06:00
Jason Kinner 58975d1780
Add existing {$yealink_fwd_allow} variable (#6023) 2021-09-02 12:14:53 -06:00
Jason Kinner 2dc415a8ea
Add existing {$yealink_fwd_allow} variable (#6024) 2021-09-02 12:14:42 -06:00
Jason Kinner 2d079fea02
Add existing {$yealink_fwd_allow} variable (#6025) 2021-09-02 12:14:29 -06:00
Jason Kinner 38c311cb1d
Add existing {$yealink_fwd_allow} variable (#6026) 2021-09-02 12:14:17 -06:00
Jason Kinner 3c3e2aeac7
Add existing {$yealink_fwd_allow} variable (#6027) 2021-09-02 12:14:06 -06:00
Jason Kinner 0d001c1602
Add existing {$yealink_fwd_allow} variable (#6028) 2021-09-02 12:13:53 -06:00
Jason Kinner 58d2efd295
Add existing {$yealink_fwd_allow} variable (#6029) 2021-09-02 12:13:37 -06:00
Jason Kinner e34bd2f82b
Add existing {$yealink_fwd_allow} variable (#6030) 2021-09-02 12:13:25 -06:00
Jason Kinner 5782bba5f3
Add existing {$yealink_fwd_allow} variable (#6031) 2021-09-02 12:13:07 -06:00
Jason Kinner 3633fda60d
Add existing {$yealink_fwd_allow} variable (#6032) 2021-09-02 12:12:50 -06:00
Jason Kinner 37535a42f4
Add existing {$yealink_fwd_allow} variable (#6033) 2021-09-02 12:12:25 -06:00
Jason Kinner a44cb84bba
Add existing {$yealink_fwd_allow} variable (#6034) 2021-09-02 12:11:47 -06:00
Jason Kinner 0d4ec3ef1e
Add existing {$yealink_fwd_allow} variable (#6035) 2021-09-02 12:11:31 -06:00
Jason Kinner 8f0ef484a0
Add existing {$yealink_fwd_allow} variable (#6036) 2021-09-02 12:11:14 -06:00
Jason Kinner f52e21049b
Add existing {$yealink_fwd_allow} variable (#6037) 2021-09-02 12:10:54 -06:00
Jason Kinner 8d55ab5479
Add existing {$yealink_fwd_allow} variable (#6038) 2021-09-02 12:10:40 -06:00
Jason Kinner 0479a60885
Add existing {$yealink_fwd_allow} variable (#6039) 2021-09-02 12:10:28 -06:00
Jason Kinner 5d2b1de165
Add existing {$yealink_fwd_allow} variable (#6040) 2021-09-02 12:10:13 -06:00
Jason Kinner dc0f77f5a2
Add existing {$yealink_fwd_allow} variable (#6041) 2021-09-02 12:09:59 -06:00
Jason Kinner 5f9f0a4214
Add existing {$yealink_fwd_allow} variable (#6042) 2021-09-02 12:09:48 -06:00
Jason Kinner 245afe314b
Add existing {$yealink_fwd_allow} variable (#6043) 2021-09-02 12:09:33 -06:00
Jason Kinner a62fc30aa5
Add existing {$yealink_fwd_allow} variable (#6044) 2021-09-02 12:09:18 -06:00
Jason Kinner e84288f1e9
Fix incorrect $yealink_fwd_allow variable (#6045) 2021-09-02 12:09:03 -06:00
Ben 5264c6e3f8
Added an array replacing the account #'s and a few cosmetic changes (#6019) 2021-08-30 10:51:15 -06:00
Ben 78af1da96f
simplified the array and a few cosmetic changes (#6018) 2021-08-30 10:50:21 -06:00
Vincent c2772dc4c7
Add the fip1x series provision template of flyingvoice and the vender of flyingvoice on the web. (#5996)
* Add fip1x series of flyingvoice  in the provision

* Fix boot file of flyingvoice does not take effect.
2021-08-27 09:39:10 -06:00
FusionPBX 841a6751db
Use fusionpbx/resources/classes/groups.php instead of fusionpbx/core/resources/classes/groups.php 2021-08-26 16:34:59 -06:00
demonspork 803457f8c9
Support for Disabling Non-configured ports on GXW42XX gateways (#6001)
* Support for Disabling Non-configured ports on GXW42XX gateways

When patching in an ATA at facilities like residential facilities, we don't want dial tone on un-configured ports. This makes it so that the device will disable ports that have no user id configured so they don't provide dial tone. The behavior can be reversed by setting grandstream_fxs_enabled to 1 in the settings.
2021-08-25 19:10:35 -06:00
Jason Kinner 7288506b12
Add grandstream_long_label var (#6009) 2021-08-25 19:02:51 -06:00
Jason Kinner 9f0685ed7f
Add grandstream_long_label var (#6010) 2021-08-25 19:02:42 -06:00
Jason Kinner 064376e70c
Add grandstream_long_label var (#6011) 2021-08-25 19:02:31 -06:00
Jason Kinner 6ace6581f2
Add grandstream_long_label var (#6012) 2021-08-25 19:02:20 -06:00
Jason Kinner 21417033de
Add grandstream_long_label var (#6013) 2021-08-25 19:02:11 -06:00
Jason Kinner 3dc3fe0651
Add grandstream_long_label var (#6014) 2021-08-25 19:02:02 -06:00
Jason Kinner 6c62bb9518
Add grandstream_long_label var (#6008) 2021-08-25 19:01:27 -06:00
Jason Kinner 4db35a07ed
Add: missing curly braces, grandstream_long_label (#6004) 2021-08-25 19:01:15 -06:00
Jason Kinner dbc1340984
Update {$mac}.xml (#6005) 2021-08-25 19:00:54 -06:00
Jason Kinner c9b86b1462
Add grandstream_long_label var (#6007) 2021-08-25 19:00:26 -06:00
Jason Kinner 0f9501c3f9
Add: missing curly braces, grandstream_long_label (#6003) 2021-08-25 19:00:08 -06:00
Jason Kinner 1ed60d95c5
Add: missing curly braces, grandstream_long_label (#6006) 2021-08-25 18:59:39 -06:00
Jason Kinner 2676d69cc8
Add missing curly braces to variables (#6002) 2021-08-25 11:40:38 -06:00
FusionPBX 57121b627b
Delete fax.php
This php class should be in app/fax/resources/classes directory.
2021-08-20 11:23:43 -06:00
FusionPBX 5f801d9501
Add priorities and debug information. 2021-08-11 17:10:18 -06:00
FusionPBX 8f6d12fa7d
Add table_exists method to the database class. 2021-08-10 07:54:08 -06:00
Ricardo Cooper b3d16e23c0
Fixes, also can now provision all 6 accounts (#5995)
I fixed the voicemail access number (this was hard coded to *98)
Removed unsupported P values and added many hidden values that cannot be configured on the app but are present in the default app config file
TLS support (you can now easily toggle TLS using default settings)
Added grandstream_config_server_path, http_auth_username/password (useful if you want to point to another PBX)
2021-08-05 00:41:23 -06:00
FusionPBX b24c55f149
Only redirect when not using the key. 2021-08-04 22:38:48 -06:00
FusionPBX 08ee1d0cd6
Update check_auth.php 2021-08-01 17:14:38 -06:00
FusionPBX e2128166c3
Move the login destination here so it will work at the user level. 2021-07-31 22:55:48 -06:00
FusionPBX c9e44dca4b
Remove the redirect. 2021-07-31 22:21:31 -06:00
FusionPBX 18d7abadd1
Add the row.line_keys and line space improvements. 2021-07-30 22:16:09 -06:00
FusionPBX 853693c27a
Add the row.line_keys and line space improvements. 2021-07-30 22:11:57 -06:00
FusionPBX 397cdb2c78
Add the row.line_keys and line space improvements. 2021-07-30 22:10:09 -06:00
markjcrane cb2a37bf6a Santize the login destination url that is picked up from the database 2021-07-25 14:14:53 -06:00
markjcrane c3b811393d Fix XSS on login page by removing $_REQUEST[path] 2021-07-25 13:59:10 -06:00
agree dd26e357e0
Yealink add mwi subscribe variables (#5989) 2021-07-08 00:47:04 -06:00
agree 2fca558eb8
Yealink add call forward code variables (#5990)
* Yealink add call forward code variables

* change all to always

* change all to always
2021-07-08 00:46:03 -06:00
agree 2c400bf6d8
polycom 4.x remove duplicate value and wrong if (#5987) 2021-07-05 14:28:25 -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
FusionPBX dd2a3bce2c
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:05:32 -06:00
FusionPBX 03a5b1c668
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:56:58 -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
FusionPBX 6362ef65b5
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:34:39 -06:00
FusionPBX 7efff205c6
Add yealink_voice_cng, yealink_voice_vad, yealink_fwd_allow and yealink_dnd_allow. 2021-06-25 17:23:11 -06:00
FusionPBX fcf2b190ae
Add yealink_voice_cng, yealink_voice_vad, yealink_fwd_allow and yealink_dnd_allow. 2021-06-25 17:16:53 -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
agree 1cc68f757b
Yealink add call forwarding dial code variables (#5923) 2021-06-21 16:50:51 -06:00
FusionPBX 24094d221b
Add user_exists function
Pulled from 4.4 pull request that was accepted. 4.5.
2021-06-21 16:43:22 -06:00
chansizzle 87d47fe961
create voicemail envelope information option (#5966)
* create voicemail envelope information option

* Update voicemail.xml
2021-06-21 16:16:47 -06:00
FusionPBX 4b775e5769
Change type to mime_type. 2021-06-11 13:25:33 -06:00
FusionPBX 398610cf25
Add comments and mime types to the attachments for the send_email function. 2021-06-10 19:37:47 -06:00