Commit Graph

7616 Commits

Author SHA1 Message Date
FusionPBX
f6a3881308 Removed magic quotes as it was deprecated in PHP 7.4 2023-10-02 12:47:12 -06:00
FusionPBX
ebb8193add outbound_route_to_bridge break only after matching a route
Changing this to behave like a call in the dialplan only break if a matching outbound route has been found.
2023-09-29 16:56:30 -06:00
OskarFranck
0773a346c2 Bulk changes of Swedish translations (#6807)
authored-by: oskfra <oskar.franck@bahnhof.net>
2023-09-28 09:32:34 -06:00
FusionPBX
7ab357380b simplify the while statement 2023-09-27 23:30:18 -06:00
FusionPBX
bf8c6f8078 Simplify event_socket code 2023-09-27 23:23:56 -06:00
FusionPBX
7246961b9f Add multicast page provision variables for Yealink t43u 2023-09-27 08:50:04 -06:00
FusionPBX
4d1194828d Simplify the permissions class 2023-09-21 12:07:32 -06:00
FusionPBX
cfd773fbf4 Update switch.php 2023-09-20 22:36:55 -06:00
frytimo
9a982edc2e update the settings set method to use params instead of array (#6804)
* update the settings set method to use params instead of array

* remove test code
2023-09-20 17:59:37 -06:00
fusionate
518c32efe6 Misc: Mitigate PHP 8.1 warnings. 2023-09-20 20:49:27 +00:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
fusionate
e4bb0dda6a Footer: Resolve PHP 8.1 warning. 2023-09-20 17:19:19 +00:00
FusionPBX
2d51bba633 Update template name to gxv3240 2023-09-20 09:25:31 -06:00
FusionPBX
169bf8788a Update code using the settings class 2023-09-19 12:56:08 -06:00
FusionPBX
4b9ff10eef Update email.php 2023-09-19 12:22:00 -06:00
FusionPBX
7f2934ff24 Use !empty when using the setting->get method 2023-09-19 12:17:04 -06:00
FusionPBX
0931324d13 Update email class to use the settings class 2023-09-19 12:14:58 -06:00
FusionPBX
925e37e31f Add yealink_dnd_allow to a few yealink templates 2023-09-18 09:44:03 -06:00
FusionPBX
bf47bbcc47 Event Socket settings auto defaults or custom using config.conf 2023-09-16 15:07:41 -06:00
FusionPBX
bc9e5abaf8 Update directory.php 2023-09-16 02:19:29 -06:00
FusionPBX
fb8b6db71d Get event socket details from the settings class 2023-09-16 02:00:57 -06:00
FusionPBX
c6d966395e Use settings class for app_defaults.php 2023-09-16 00:22:12 -06:00
FusionPBX
3f4c4702c5 Add set method to the settings class 2023-09-14 15:43:52 -06:00
FusionPBX
f6b92fc565 Bypass permission check for command line 2023-09-14 15:42:56 -06:00
FusionPBX
e5f6c3067a settings class use get and refine further 2023-09-14 12:28:38 -06:00
fusionate
efcf484e57 Ace Editor: Include license and version note. 2023-09-13 19:05:45 +00:00
fusionate
cebab0b812 PHP/Script/Provision/XML Editor: Updated Ace to latest version (1.24.2). 2023-09-13 18:58:29 +00:00
FusionPBX
0ec6ed696c Create a new settings class 2023-09-13 09:46:52 -06:00
FusionPBX
11df74853a Change variable from permission to permission_name 2023-09-11 11:54:36 -06:00
FusionPBX
5f688f2e1d Update functions.php 2023-09-11 11:43:31 -06:00
FusionPBX
2c5724c6ed Add new class methods and use them 2023-09-11 01:45:19 -06:00
fusionate
7f48c0f676 Device - Edit: Integrate QR provisioning for Sipnetic softphone. 2023-09-07 23:26:27 +00:00
FusionPBX
40a7ed7b15 xml sanitize allow $1 and $2
Continue to remove any ${variables}  in this format
2023-08-30 12:50:08 -06:00
sdwru
3b617cb35c Update switch.php (#6785)
Running install.php the first time after a manual (not using script) install on Debian 11, there is a failure due to $_SESSION['switch']['conf']['dir'] not yet existing.  Subsequent installs will work.  It's only on the first install that it fails.  There may be better ways but this is the fix I came up with that works for me.
2023-08-29 10:56:31 -06:00
jonathanblack1000
254d58f614 Second try fixing line keys on GXP2135 (#6793)
GXP2135 requires special handling on keys to handle line key vs BLF/Speed dial vs blank.
2023-08-29 10:55:19 -06:00
FusionPBX
988e2490c5 Set the switch session variable tusing the name
To be consistent the $_SESSION['switch'] variables currently require the name. Without this switch session variables are inconsistent.

This inconsistently caused a problem with creating the recording directory for new domains.
2023-08-28 15:07:31 -06:00
FusionPBX
4eb7fdf007 Update default and domain setting session array
In the "domains" class upgrade method, only set the value when either "default_setting_enabled" is true or "domain_setting_enabled" is equal to true.
2023-08-28 14:45:39 -06:00
FusionPBX
bf520a38d7 Save the category name and not the description in vars.xml 2023-08-26 23:03:38 -06:00
jonathanblack1000
c97ac88cd2 Fix line keys on GXP2135 and contribute GHP6xx template. (#6780) 2023-08-26 10:50:36 -06:00
Mihir Gajjar
9933b44335 Snom D735 Smartlabel Settings (#6776)
* Updated Snom template for Intercom policy

Allow to make changes to Snom intercom policy

* Updated Snom D735 template for setting the Smartlabel display mode

This settings allows to set a domain setting on how we want to see the labels on Snom D735 phones
2023-08-26 10:49:33 -06:00
FusionPBX
5439a80095 Account for dialplan_detail_enabled is null as enabled true
The interface treats dialplan_detail_enabled null as enabled so in the outbound_route_to_bridge treat it as enabled true.
2023-08-23 19:23:11 -06:00
FusionPBX
d109fad050 Add the closing foreach for the yealink t46s template 2023-08-22 12:11:56 -06:00
FusionPBX
595197279b Fix the yealink t41s template 2023-08-22 12:10:47 -06:00
FusionPBX
281a367715 Update the Yealink T46s to use a loop
This allows using any number of accounts (lines) the phone can support.
2023-08-22 11:11:47 -06:00
FusionPBX
4ed611a187 When the toggle field and values are empty then use defaults 2023-08-15 21:37:05 -06:00
FusionPBX
2ceb4453c5 If the config_file doesn't exist then redirect to the install.php 2023-08-15 16:19:22 -06:00
FusionPBX
9f004f696e Use trim on the file contents and use file_exists 2023-08-14 21:35:31 -06:00
FusionPBX
0fb78ee94e Enable setting a custom config_file path 2023-08-14 21:18:10 -06:00
FusionPBX
90cbc08551 Replace GLOB_BRACE as its not compatible with all systems 2023-08-14 12:04:00 -06:00
FusionPBX
4bf775897e Replace GLOB_BRACE as its not supported by all systems. 2023-08-14 11:27:40 -06:00