Commit Graph

23994 Commits

Author SHA1 Message Date
markjcrane 0c57b13358 Fix key required return false if empty 2026-05-14 15:41:38 +00:00
FusionPBX a73bb34666 Fix provision write method to only write one device 2026-05-14 14:54:59 +00:00
frytimo d6f2ac28f5 Add call flows to feature codes (#7972)
* Add call flows to feature codes

* Refactor permission checks for feature codes
2026-05-13 14:37:57 +00:00
Mr. Sims 42185e804f Add Polycom CCX 500 provisioning template (#7963)
* Add Polycom CCX 500 provisioning template

Adds provisioning template for the Polycom (HP/Poly) CCX 500 desk phone
running OpenSIP UC Software 9.x.

Files:
- resources/templates/provision/polycom/ccx500/{$mac}.cfg
- resources/templates/provision/polycom/ccx500/{$mac}-directory.xml
- app/provision/resources/sql/postgresql/polycom_ccx500_codec_defaults.sql

Highlights:
- Standard FusionPBX feature-code softkeys (VMTransfer *99, Intercom *8,
  Pickup **) consistent with sibling polycom/vvx* templates
- Three Park softkeys (*5901-*5903) for one-touch blind transfer
- Codec preference variables (polycom_codec_g711a, polycom_codec_opus, etc.)
  with idempotent v_default_settings INSERTs providing sensible defaults
  (G711_A > G711_Mu > G722 preferred, others disabled until enabled by admin)
- feature.enhancedFeatureKeys.enabled=1, matching the rest of the polycom/*
  template family

Tested on 11 production CCX 500 devices running firmware 9.4.1.0508.

* Move CCX 500 codec defaults to polycom app_config.php

Per @markjcrane review: defaults should be added via the app_config.php
$apps[$x]['default_settings'] array pattern so they apply via
Advanced > Upgrade > Application Defaults, not a one-off SQL migration.

- Added 13 polycom_codec_* entries to app/polycom/app_config.php
- Removed app/provision/resources/sql/postgresql/polycom_ccx500_codec_defaults.sql
2026-05-13 14:23:05 +00:00
frytimo d4f7b30291 Fix pass by reference xml_cdr (#7970)
* Fix pass by reference xml_cdr

* Fix formatting of field_name assignment
2026-05-13 14:19:51 +00:00
frytimo f044a0cd8e Fix PHPDoc on database save return type (#7971) 2026-05-13 14:04:15 +00:00
frytimo 39c3dcfc55 Fix database maintenance function xml_cdr (#7969) 2026-05-13 14:03:42 +00:00
Alex cc0d528cff Security: Add CSRF tokens to login form (#7968)
* Security: Add anti-CSRF tokens to login form

* Update database.php

* Update email.php

* Update totp.php

* Update email.htm

* Update login.htm

* Update totp_secret.htm

* Update totp.htm

* Update username.htm
2026-05-12 20:19:40 +00:00
frytimo 7bf33e8668 Master-Branch-Fix freebsd dashboard items (#7967)
* Fix freebsd dashboard items

* Fix service total count
2026-05-12 19:15:41 +00:00
Alex 1a286a3020 Escape username before assigning to view (#7964)
* Update database.php

* Update email.php

* Update totp.php
2026-05-12 15:25:22 +00:00
FusionPBX 39ac20e7a0 Update the service file path for debian services 2026-05-12 07:36:52 +00:00
FusionPBX d18f25eb10 Fix echo statements remove indentation 2026-05-12 07:18:39 +00:00
FusionPBX 3d357340ae Output the service name only for Linux
FreeBSD adds the service name by default.
2026-05-12 07:11:29 +00:00
FusionPBX fa5ae89827 Fully detach from parent shell to prevent 'service' from blocking 2026-05-12 06:40:25 +00:00
FusionPBX ed241110ab Update the service path for FreeBSD 2026-05-12 04:57:37 +00:00
FusionPBX 061c978219 Update services for FreeBSD 2026-05-12 04:55:46 +00:00
FusionPBX 7c371cea78 Rename the Debian services files 2026-05-12 03:51:32 +00:00
FusionPBX b68f5828b0 Add FreeBSD rc.d service files 2026-05-12 03:46:26 +00:00
frytimo 59f5bca0b9 Fix active_calls crash on reload (#7959)
* Fix active_calls crash on reload
2026-05-06 18:50:18 +00:00
FusionPBX 53956f53dd Add condition for forward_user_not_registered_destination is empty
Skip this dialplan when forward_user_not_registered_destination is empty.
2026-05-06 18:23:11 +00:00
FusionPBX 7f9d9aaf66 Change reload_settings method visibility to public 2026-05-06 15:06:19 +00:00
markjcrane 34a3ef1400 Change the protected to public for reload_settings
When waiting on a socket the call back needs to be accessible from anywhere
2026-05-05 15:43:02 -06:00
Antonio Fernandez cc32e04538 Remove colon from Ring Group Caller ID Prefix (#7956)
* Do not allow colon to be used since it breaks the CID name prefix
2026-05-05 18:31:59 +00:00
FusionPBX 552e1261e2 Update software version to 5.6.2-dev 2026-05-05 17:14:47 +00:00
frytimo 2f2883ca8b Add video setting for yealink (#7954)
Available settings from template are: 0=Disabled, 1=Video first, 2=Optional
2026-05-05 16:33:13 +00:00
frytimo bb6d962b9f Update PHPDocs in services class (#7953) 2026-05-04 23:13:29 +00:00
FusionPBX 678a008709 Remove class overflow for the domain column 2026-05-04 22:24:29 +00:00
Alex d03b678ff2 Add sort direction icon (#7952)
for table headers that use the th_order_by function.
2026-05-04 20:47:23 +00:00
FusionPBX bbae2e6955 Remove redundant window.open 2026-05-04 19:42:32 +00:00
frytimo fc08584901 Fix an error when upgrade cli is used for first time with services (#7951) 2026-05-04 17:56:07 +00:00
frytimo 097af5d836 Fix missing first line of in-progress call and wrong state (#7948)
When the dashboard widget is first called, the first line of the active call response was ignored due to a promise dropped in the client. This fixes the dropped event.
The status is hard-coded to 'ringing' on the server-side to allow the client to pick up the event as a 'new' call. This patches the client to correct this and put the correct 'answered' status for an already in-progress call.
2026-05-04 16:58:43 +00:00
Alex 494664f598 Fix: Stop incrementing MWI Account when adding extensions (#7950)
- MWI Account is empty by default.
- When adding multiple extensions with the range, the MWI Account should be the same on all of them.
2026-05-04 16:57:34 +00:00
frytimo f2df94cf93 Check for empty service list before array_column (#7949) 2026-05-04 08:31:01 -06:00
FusionPBX fe7a5033c2 Add missing services during upgrade
Added functionality to add missing services during the upgrade process.
2026-05-01 21:10:10 +00:00
Alex a48ea3d945 Update added modules message (#7947) 2026-05-01 20:47:07 +00:00
Alex c68602b6d3 Update add missing and reload messages (#7946)
* Update add missing and reload messages

* Update app_languages.php
2026-05-01 20:36:14 +00:00
Alex 1f5c7099ac Add translations for reload confirmation (#7945)
* Add translations for reload confirmation

* Update app_languages.php
2026-05-01 20:35:39 +00:00
FusionPBX df18b4790f Add btn_reload to checkbox_on_change 2026-05-01 18:15:14 +00:00
FusionPBX 652a7dc256 Add ability to reload one or more services 2026-05-01 17:51:22 +00:00
FusionPBX d3a03a8b28 Add translations for message-reload 2026-05-01 17:32:03 +00:00
Alex 571c5f98f4 Fix the service delete (#7944)
* Fix the service delete

* Update services.php
2026-05-01 10:04:33 -06:00
FusionPBX 4022dbb3b2 Enhance service status display with color and tooltips 2026-05-01 01:17:37 -06:00
FusionPBX 182aabf709 Update service status labels to 'Active' 2026-05-01 01:13:46 -06:00
FusionPBX 1424ec2e18 Add translations for 'Yes' and 'No' labels 2026-05-01 01:11:09 -06:00
Alex 11e07e5d30 Fix the service toggle (#7943) 2026-04-30 17:57:31 +00:00
markjcrane 76744aaaf5 Add a new feature to manage services 2026-04-30 07:46:04 -06:00
markjcrane cf28698320 Add category and get_category method 2026-04-30 07:00:36 -06:00
markjcrane 50032436ac Add category and get_category method 2026-04-30 07:00:05 -06:00
markjcrane 116b705ab4 Add category and get_category method 2026-04-30 06:53:29 -06:00
markjcrane 479551604c Add category and get_category method 2026-04-30 06:53:21 -06:00