Commit Graph

8025 Commits

Author SHA1 Message Date
FusionPBX
5f35392871 Update functions.php 2025-08-04 15:42:08 -06:00
frytimo
3477c78df1 Fix large log file when using websockets (#7446)
* fix large log file when using websockets
Services now check the log level set before trying to print to log file. The default is to use LOG_INFO

* reverse timestamp logic so it doesn't display by default

* Run in foreground by default

* Change to LOG_NOTICE as default value for log
Using the LOG_NOTICE as the default log level for services allows the services a better range of levels to choose from and conforms to the standard used by other services.

* Update service.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-08-04 15:12:51 -06:00
FusionPBX
9704777433 Revert "Update {$mac}.xml (#7383)" (#7435)
This reverts commit 40bc41cfea.
2025-07-30 08:50:04 -06:00
Sergey
40bc41cfea Update {$mac}.xml (#7383)
Update some basic default configuration for 8900 series.
2025-07-30 08:07:50 -06:00
Mendel
6ad8326463 Added Algo Devices and Default settingd (#7434) 2025-07-30 08:03:39 -06:00
FusionPBX
40d449eb06 Create {$mac}-directory.xml 2025-07-30 07:23:08 -06:00
FusionPBX
08e3fd712f Add Poly Edge E550 2025-07-30 07:22:40 -06:00
Mendel
bf4b7163ce Update {$mac}.xml (#7432)
Updated SIP Ports, Timezone and Time Verible.
2025-07-24 10:50:30 -06:00
Mihir Gajjar
82029bc974 Added Snom status blocked messages (#7429)
* Added status blocked messages

* Added status blocked messages

* Added status blocked messages
2025-07-23 19:47:51 -06:00
FusionPBX
6449554aa4 Update {$mac}.xml 2025-07-15 21:40:52 -06:00
FusionPBX
b7183886d4 Update {$mac}.xml 2025-07-15 21:36:35 -06:00
FusionPBX
0eb825d621 Add Grandstream Call-pickup
BLF Call-pickup. Options: Auto, Force, Disabled
2025-07-14 14:07:04 -06:00
FusionPBX
178a8b3273 Update invalid_uuid_exception.php 2025-07-13 20:06:29 -06:00
frytimo
62d6165351 Fix service parent class failed to remove PID file after shutdown (#7422)
Fixes the following:
- The service would exit but fail to remove the PID file when the shutdown command was sent to the service.
Added the following:
- Better feedback during service start up if the PID fails to be created
- Appropriate POSIX error codes on failure of modifying the PID file
2025-07-12 08:13:29 -06:00
frytimo
a429852c46 Fix auto_loader duplicate classes in interface list (#7416)
* Fix auto_loader duplicate classes in the interface list
This patch will stop the auto_loader from adding the same class to the interface list if it already exists in the list.

* Update auto_loader.php
2025-07-09 11:05:37 -06:00
jailbird777
e68ed8446f Add Yealink AX83H Wi-Fi Phone (#7402) 2025-07-03 12:17:25 -06:00
frytimo
b163e3d906 Security fix for link in button (#7408)
* security fix for link in button

* Escape characters for button link
2025-07-03 12:12:32 -06:00
FusionPBX
96275ed9c1 Fix transactions to save the domain_uuid
Symptom
Advanced -> Transactions showed as global when it should have shown the correct domain. This was failing when saving a new record.
2025-07-03 09:16:26 -06:00
FusionPBX
aa6bc173a7 Update database.php 2025-07-03 08:30:53 -06:00
FusionPBX
58e69d2596 Fix the user_uuid using database::new() 2025-07-03 08:13:46 -06:00
FusionPBX
2af950cfb3 Update the menu method restore name 2025-06-30 12:31:48 -06:00
FusionPBX
5aabe28079 Update Grandstream gxp2135 to gxp2170 minor 2025-06-30 12:24:28 -06:00
FusionPBX
61531c1a5c Update spelling 2025-06-28 17:47:05 -06:00
frytimo
a629504e39 remove unused variables in function call (#7398) 2025-06-26 23:11:33 -06:00
FusionPBX
487bf99086 Update schema.php
- Update db_table_exists
- Update db_column_exists
2025-06-26 09:46:32 -06:00
FusionPBX
3a6d6e6bbc Remove console output 2025-06-26 06:30:05 -06:00
FusionPBX
d3123ec460 Update multiple git related functions 2025-06-26 06:28:16 -06:00
frytimo
d5286a12bc Websockets (#7393)
* Initial commit of websockets

* Move app_menu to the active_calls websockets

* Fix hangup function

* Remove connection wait-state on web socket server so events can process

* Add timestamp and debug level to console for service debug output

* Remove debug exit

* Fix typo for ws_client instead of ws_server

* Update app_config.php

* Fix typo and remove empty function

* Remove call to empty function

* Fix the menu to point to the correct location

* Remove Logging Class

* Rename service file

* Rename service file

* Fix the in progress browser request

* Fix browser reload and implement 'active_calls' default values

* Add apply_filter function

* Create new permission_filter object

* In progress active calls now use filter

* Add invalid_uuid_exception class

* add event_key_filter to honor user permissions

* add and_link and or_link for filters

* Fix disconnected subscriber and add filters to honor permissions

* Add $key and $value for filter

* define a service name

* catch throwable instead of exception

* Add $key and $value for filter and allow returning null

* Update permission checks when loading page

* Add apply_filter function to honor subscriber permissions

* Add create_filter_chain_for function to honor subscriber permissions

* Add apply_filter function to honor subscriber permissions

* Add apply_filter function to honor subscriber permissions

* create interface to allow filterable payload

* create interface to define functions required for websocket services

* Pass in service class when creating a service token

* Allow key/name and return null for filter

* Adjust subscriber exceptions to return the ID of the subscriber

* Add event filter to filter chain

* Add command line options for ip and port for websockets and switch

* update service to use is_a syntax

* initial commit of base class for websockets system services

* initial commit of the system cpu status service

* remove extra line feed

* fix path on active_calls

* initial proof of concept for cpu status updated by websockets

* Allow returning null

* Use default settings to set the interval for cpu status broadcast

* Improve the CPU percent function for Linux systems

* Show more debug information

* Allow child processes to re-connect to the web socket service

* Fix websockets as plural instead of singular

* Add class name list-row

* Update active_calls.php

* Update active_calls.php

* Update websocket_client.js

* Update app_config.php

* Update app_menu.php

* Update debian-websockets.service

* Update debian-active_calls.service

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-06-24 13:07:57 -06:00
fusionate
17be5f51a3 CDR - Details: Display call recording playback/waveform, if allowed. 2025-06-23 13:24:14 -06:00
frytimo
c53ee8c503 Remove setting app and uuid for groups (#7392) 2025-06-23 13:18:57 -06:00
FusionPBX
57ffc57092 Update functions.php 2025-06-21 11:49:38 -06:00
Trick Solutions
282134980e Fix closing tag on if/else (#7390)
The firmware download section was missing the closing {/if}

Co-authored-by: Matthew Midgett <mmidgett@nationalwi-fi.com>
2025-06-18 15:14:18 -06:00
Trick Solutions
5336b34a75 WiFi AP configuration support for Grandstream devices - Adding support for AP1 and AP2 (#7385)
* Add SNMP configuration support for Grandstream HT801,HT802 and GXP2135 devices

 Added configurable SNMP settings to Grandstream HT801, HT802 and GX92135 provisioning template. Includes enable/disable toggle, SNMP version selection (default v2c), and community string configuration. SNMP is disabled by default
  for security.

* Update app_config.php

* WiFi AP configuration support for Grandstream devices

Added WiFi access point 1 and 2 configuration (SSID, password, security type) for GRP2612/2613/2614/2615/2616 devices.
  Includes database configuration entries with unique UUIDs and template variable integration following FusionPBX patterns.

---------

Co-authored-by: Matthew Midgett <mmidgett@nationalwi-fi.com>
2025-06-03 20:38:26 -06:00
Trick Solutions
fb574fead1 Add SNMP configuration support for Grandstream HT801,HT802 and GXP2135 (#7384)
* Add SNMP configuration support for Grandstream HT801,HT802 and GXP2135 devices

 Added configurable SNMP settings to Grandstream HT801, HT802 and GX92135 provisioning template. Includes enable/disable toggle, SNMP version selection (default v2c), and community string configuration. SNMP is disabled by default
  for security.

* Update app_config.php

---------

Co-authored-by: Matthew Midgett <mmidgett@nationalwi-fi.com>
2025-06-03 07:58:54 -06:00
Bifur1
4ca21d906f Add Grandstream variable for IP mode (DHCP, Static, Etc) (#7380)
* Update {$mac}.xml

Allow device to not revert back to DHCP on reboot and keep manually entered static IP.

* Add variable for IP mode (DHCP, Static, etc)

Prevents device from reverting back to DHCP on reboot if a static IP is manually set.
2025-05-30 21:13:53 -06:00
chansizzle
dde70b8508 HT818 - Add default setting variables for tr069 & acs (#7378) 2025-05-30 21:12:22 -06:00
FusionPBX
3f6b08b17e Update {$mac}.xml 2025-05-30 16:47:39 -06:00
FusionPBX
1103e082cb Update {$mac}.xml 2025-05-30 13:37:45 -06:00
FusionPBX
948af4f76b Update {$mac}.xml 2025-05-30 12:55:21 -06:00
FusionPBX
cab8aaa463 Update the Cisco 9861 template 2025-05-29 17:42:24 -06:00
FusionPBX
94f787a068 Add default template for the Cisco 9861 2025-05-29 17:41:22 -06:00
FusionPBX
ee16644e25 Rename methods used in restore default
Renamed methods
- delete to restore_delete 
- restore to restore_default
2025-05-28 19:49:45 -06:00
FusionPBX
b96b5f8c0f menu_item_protected deprecated
This protected feature has not been working correctly. At the moment commented out depending on feedback it maybe removed entirely.
2025-05-28 19:37:58 -06:00
Bifur1
0284ee3e86 Force Groundwire to use GSM/LTE for emergency calls (#7371)
This applies to users in the United States. When a user dials 911 or 933 (commonly used for 911 testing) from the Groundwire app, the call is automatically placed using the device's cellular service. This approach can enhance location accuracy for emergency services and ensure more reliable call completion.
2025-05-22 09:59:39 -06:00
Bifur1
832c5f5eb8 Add variable for speaker phone volume (#7368)
Add variable to provision speaker phone volume. Helpful when phones are primarily used as intercom devices. Values are 0-15, 15 being the loudest.
2025-05-22 09:59:16 -06:00
Bifur1
ce9758de20 Update {$mac}.xml (#7369)
Allow device to not revert back to DHCP on reboot and keep manually entered static IP.
2025-05-22 09:58:46 -06:00
Bifur1
999f4d42cd Add additional Yealink T34W block out variables (#7370)
Extend support for multiple block out variables
2025-05-22 09:57:55 -06:00
chansizzle
0287bfa7f3 Grandstream - use variable for firmware upgrade protocol (#7377)
* Grandstream - use variable for firmware upgrade protocol

The firmware upgrade protocol was hard-coded as https. Updated to use the default settings variable.
2025-05-22 09:55:18 -06:00
K-Flagman
62791e4eb3 [CORE] [MENU] Feature Assign/Unassign User Groups (#7373) 2025-05-17 13:50:02 -06:00
Kamil M
e37797453a Bugfix for T48u (#7364)
Missing ending if statement.
2025-05-12 09:46:19 -06:00