Commit Graph

710 Commits

Author SHA1 Message Date
markjcrane 980a8d5b2d Add destinations playback option for recordings 2026-05-15 19:25:13 +00:00
Mendel 368ad20227 Fix destination export to honor Show All across domains (#7936)
When SHOW ALL button has been pressed then export all destinations from all domains and add '_all' to the exported file name.
2026-04-29 23:35:30 +00:00
Alex 4cdb36109b Destinations: Preserve query string parameters across list and edit pages (#7930)
* Destinations: Preserve query string parameters across list and edit pages

* Update destination_edit.php
2026-04-29 16:22:28 +00:00
FusionPBX 6633b0010f Change destination_record check from boolean to string 2026-04-21 04:08:54 +00:00
frytimo 24c99ab4ef Fix error caused by strict type in PHP 8.4 (#7843) 2026-04-13 09:42:44 -06:00
FusionPBX ebf1599f5f Fix dialplan destination record 2026-04-07 09:59:57 -06:00
FusionPBX 44c19f3487 Fix destination import for multiple actions 2026-03-16 11:04:23 -06:00
Alex 233dbfd13e Add destination condition description (#7789) 2026-03-13 19:39:40 +00:00
FusionPBX c771179afc Remove empty function from the destination_trunk_prefix
Empty treats 0 as empty which means the trunk prefix is not included. So to fix this issue had to remove the empty function.
2026-03-12 22:33:41 +00:00
FusionPBX 3f23142f31 Fix the Destination Select Dynamic mode
Category: destinations
Subcategory: select_mode 
Value: dynamic

Destination Select list - Category: Dialplans
- Check Voicemail
- Company Directory
- Hangup
- Record

The select_mode default was working
2026-02-21 15:30:31 -07:00
FusionPBX 45cf609276 Import default set to enabled 2026-02-17 14:23:34 -07:00
Alex 15e79122a4 Fix domain limits being ignored when set to 0 (#7738) 2026-02-06 11:17:27 -07:00
FusionPBX 084575e368 Update bridge and phrase detection in the destination actions 2026-01-28 13:46:21 -07:00
FusionPBX e6987e9c89 Fix audio not playing when using a phrase
When the call goes directly to a phrase, the call must be answered before the audio plays.
2026-01-28 13:11:01 -07:00
FusionPBX 3f356ac58f Fix the destination check for duplicates 2026-01-28 12:31:33 -07:00
markjcrane f294d7c836 Remove the widget background and detail color default value 2026-01-27 18:55:03 -07:00
FusionPBX 2429930ceb Fix the destination_map permission 2026-01-26 18:44:49 -07:00
FusionPBX c50a5469ba Remove the destination MAP button 2026-01-23 17:12:53 -07:00
FusionPBX e290f89176 Use the destination_map permission 2026-01-23 17:11:12 -07:00
FusionPBX 6105ebeb6d Add permission: destination_map 2026-01-23 17:10:25 -07:00
FusionPBX b636736591 Add the Destination Map to the menu. 2026-01-23 17:09:27 -07:00
FusionPBX 76a9944b2f Add Destination Map
- Shows all defined destinations
2026-01-21 14:51:49 -07:00
Alex be135da7f5 Clear quick select value when start/end date changes (#7701)
* Clear the quick select value when start/end date and time change

* Update xml_cdr_extension_summary.php

* Update destination_summary.php
2026-01-15 14:08:37 -07:00
Alex dd40d23d71 Convert encoding type to UTF-8 for CSV import (#7689)
* Convert encoding type to UTF-8 for CSV import

* Update bridge_imports.php

* Update destination_imports.php

* Update device_imports.php

* Update destination_imports.php

* Update bridge_imports.php

* Update access_control_import.php

* Update extension_imports.php

* Update voicemail_imports.php

* Update contact_import.php

* Update user_imports.php
2026-01-08 10:05:05 -07:00
Alex 72dafd903d Use the time_format default setting on more pages (#7663)
* Use the time_format default setting on more pages

* Update call_recordings.php

* Update devices.php

* Update email_queue.php

* Update emergency.php

* Update time formatting based on settings

* Update fax_logs.php

* Update fax_queue.php

* Update time_condition_edit.php

* Update xml_cdr_details.php

* Update xml_cdr_search.php

* Update xml_cdr_statistics_inc.php

* Update xml_cdr_statistics.php

* Update xml_cdr.php

* Update contact_edit.php

* Update contact_notes_view.php

* Update contact_notes.php

* Update contact_timer.php

* Update contact_times.php

* Update user_logs.php

* Update footer.php

* Update template.php

* Update fax_files.php

* Update recent_calls.php

* Update missed_calls.php

* Update recordings.php

* Update xml_cdr_statistics_inc.php

* Update xml_cdr_inc.php

* Update xml_cdr_inc.php

* Update recordings.php

* Update missed_calls.php

* Update call_block.php

* Update user_logs.php

* Update xml_cdr_inc.php

* Update xml_cdr_details.php

* Update recordings.php

* Update fax_queue.php

* Update fax_logs.php

* Update fax_files.php

* Update event_guard_logs.php

* Update emergency.php

* Update email_queue.php

* Update devices.php

* Update call_recordings.php

* Update time_condition_edit.php

* Update time_condition_edit.php

* Update call_block.php

* Update call_recordings.php

* Update devices.php

* Update email_queue.php

* Update emergency.php

* Update event_guard_logs.php

* Update fax_files.php

* Update fax_logs.php

* Update fax_queue.php

* Update recordings.php

* Update xml_cdr_inc.php

* Update user_logs.php

* Update destination_summary.php

* Update xml_cdr_extension_summary.php

* Update music_on_hold.php

* Update fax_send.php

* Update voicemail_greetings.php

* Update voicemail_greetings.php

* Update xml_cdr_inc.php

* Update xml_cdr_inc.php

* Update xml_cdr_inc.php

* Update xml_cdr_statistics_inc.php

* Update xml_cdr_statistics_inc.php

* Update xml_cdr_inc.php

* Update xml_cdr_extension_summary.php

* Update destination_summary.php

* Update xml_cdr_statistics_inc.php

* Update xml_cdr_inc.php

* Update xml_cdr_statistics_inc.php

* Update contact_edit.php

* Update css.php

* Update template.php

* Update fax_send.php
2025-12-18 09:52:49 -07:00
FusionPBX 37c7e44146 Call record update record_stereo, and record_stereo_swap 2025-12-10 15:31:40 -07:00
frytimo 10868ec0cb Set dialplan_detail_enabled to true when creating destination (#7661) 2025-12-10 14:11:24 -07:00
FusionPBX 6b063f2c28 Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
2025-12-08 14:12:19 -07:00
fusionate bb6306a7db Destination [Class]: Add optional placeholder parameter for the select method (default mode only). 2025-12-04 20:43:32 -07:00
Alex 9e9dd2ba71 Fix undefined label (#7639) 2025-11-21 16:46:38 -07:00
Alex d2b5fe4839 Check if destination_actions is empty to fix a PHP warning (#7633) 2025-11-19 15:56:10 -07:00
markjcrane 323d318141 Update boolean toggle
- When 2 equals it evaluates null as false and then false is selected.
2025-11-19 15:26:40 -07:00
frytimo adfc4cc469 Create more documentation (#7627)
* Documentation, format class, no modification.
2025-11-18 18:33:07 -07:00
markjcrane 21b85d0316 Get the language from settings and re-use it 2025-11-18 09:35:28 -07:00
frytimo b151f3c4ce Fix dialplans always shows as selected for empty entry (#7619) 2025-11-15 21:29:26 -07:00
frytimo 723b9f19f4 Fix PHP warning when destination email is not in post data (#7618) 2025-11-15 21:29:07 -07:00
frytimo 5f1b34a194 When the $show variable is false or null the condition for !$show == all will always evaluate to true. (#7617)
The call to action_name with $destination_app_data empty (no action for destination number) will cause a PHP warning.
2025-11-15 21:28:52 -07:00
markjcrane 71edbd5b28 Minor update for code alignment 2025-11-13 23:44:02 -07:00
markjcrane 92a0c9d75f Efficiency improvements for the destinations class 2025-11-13 23:40:35 -07:00
Alex 987c6f7cb8 Prevent more PHP warnings (#7609)
* Prevent more PHP warnings

* Update call_broadcast_edit.php

* Update call_center_agent_edit.php

* Update call_flow_edit.php

* Update call_center_queue_edit.php

* Update conference_center_edit.php

* Update conference_room_edit.php

* Update conference_control_detail_edit.php

* Update conference_control_edit.php

* Update conference_profile_edit.php

* Update conference_edit.php

* Update conference_profile_param_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update dialplan_inbound_add.php

* Update dialplan_outbound_add.php

* Update dialplan_add.php

* Update dialplan_edit.php

* Update event_guard_logs.php

* Update extension_setting_edit.php

* Update extension_edit.php

* Update fax_edit.php

* Update fifo_edit.php

* Update ivr_menu_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update xml_cdr_search.php

* Update dashboard_widget_edit.php

* Update domain_edit.php

* Update group_edit.php

* Update user_edit.php

* Update gateway_edit.php
2025-11-13 08:37:51 -07:00
markjcrane 7286d4b58d Update permission_exists for multiple permissions 2025-11-06 08:20:46 -07:00
markjcrane b0eabca1f6 Update check permisisons 2025-11-02 00:22:57 -06:00
FusionPBX 4f845c808f Add condition for permission destination_record 2025-10-22 13:27:00 -06:00
Mark J Crane 8d5572a943 If search is not set use an empty string instead of null 2025-10-22 10:04:34 -06:00
FusionPBX ddab60b28f Update destination_context type inbound use public by default
Update the destination_context if the type is inbound and context is empty, then use public.
2025-10-21 12:17:01 -06:00
FusionPBX 05c499f179 Update permission check for destination actions 2025-10-16 08:56:33 -06:00
FusionPBX dda18481ec Refactor PHP code (#7574)
* Use settings-get method
- get default, domain and user settings
- Replace _SESSION

* Simplify get domain paging

* Change isset using empty

* Fix token name and hash

* Add new default settings category: contact, name: default_sort_column, and default_sort_order

* Update app_config.php

* Update footer.php

* Fix require.php and core/dashboard/index.php (#7563)

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Update destinations.php

* Update permission.php

* Update require.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: FusionPBX <mark@fusionpbx.com>

* Update header.php

* Use settings get classes (#7567)

* access_control

* azure

* azure

* basic_operator_panel

* bridges

* call_block

* call_broadcast

* call_center

* call_flows

* call_forward

* call_recordings

* do_not_disturb

* feature_event_notify

* follow_me

* remove unused object properties

* fix esl command

* fix esl command

* conference_centers

* conference_centers - remove whitespace

* conference_controls

* conference_profiles

* conference_profiles

* Delete core/websockets/resources/classes/socket_exception.php.original~

* Delete core/websockets/resources/classes/websocket_server.php.original~

* conferences

* destinations

* device

* dialplan

* email_queue

* event_guard

* extension_settings

* extension

* fax

* fax_queue

* fifo

* gateways

* ivr_menu

* modules

* switch_music_on_hold

* number_translations

* phrases

* pin_numbers

* provision

* switch_recordings

* registrations

* ring_groups

* sip_profiles

* sofia_global_settings

* streams

* presence

* switch_files

* time_conditions

* vars

* voicemail_greetings

* voicemail

* ringbacks

* contacts

* xml_cdr

* authentication

* dashboard

* default_settings

* domain_settings

* email_templates

* permission

* user_logs

* user_settings

* users

* button

* cache

* captcha

* remove cli_option

* remove directory.php for switch_directory class

* email

* file

* groups

* event_socket use config object

* Use intval to give an integer port

* switch_settings

* tones

* fix object used before initialization

* menu

* fix copy paste error for switch_files.php

* always include require.php for framework files

* Fix missing properties

* set the action

* Use the $database object

* Add missing class properties

* Fix the domain_name

* Use public scope for domain_uuid and domain_name

* Add missing parameters

* Correct the user_uuid parameter

* Add json_validate and use it in the dashboard
update indentation on functions.php

* Intialize the active_registrations variable

* Define the $parameters

* Set a default value for user_setting_enabled

* Add condition domain_uuid not empty

* Add not empty condition for domain_uuid

* Declare the global variables

* Update how the defaults are set use ??

* Use ?? to set the default values

* Update call_center_queue_edit.php

* Prevent an error

* Add domain_name property

* Fix the null coalescing operator

* Removed domain_uuid from the URL

* Change condition to check sip_profile_domain_name

* Refactor domain_uuid declaration and comments

Removed redundant domain_uuid declaration and updated comments.

* Account for an empty value

* Refactor constructor to use settings array

Updated constructor to accept settings array for domain UUID and database initialization.

* Refactor xml_cdr.php to improve variable organization

Removed duplicate domain_uuid declaration and reorganized private variables for better structure.

* Enhance transcription button logic and icon display

Updated transcription button visibility conditions and improved application icon handling in the call flow summary.

* Refactor settings initialization in domains.php

Updated settings initialization to include domain_uuid and user_uuid.

* Modify domain change condition in require.php

Updated condition to check if 'domain_change' is not empty before proceeding.

* Set default_setting_enabled to true by default

* Enhance domain UUID check in access controls

* Enhance domain UUID check in settings list

* Refactor category display logic in vars.php

* Simplify list row URL generation

Removed domain UUID check from list row URL construction.

* Refactor module category display logic

* Fix SQL query by removing parameters variable

* Initialize result_count variable for call recordings

* Refactor leg variable usage in xml_cdr_details.php

* Update conference_room_edit.php

* Change GET to REQUEST for order and search variables

* Set timezone and SQL time format in recordings.php

Added timezone and SQL time format settings.

* Set default for ring group greeting

* Improve domain UUID check in stream listing

* Handle null voicemail_option_param safely

* Add file existence check for greeting files

Check if greeting file exists before getting size and date.

* Improve domain UUID check in email templates

* Update FIFO strategy dropdown and description text

* Add multilingual agent descriptions

Added multilingual descriptions for agents in the app_languages.php file.

* Add music on hold descriptions

* Add the chime list description

Updated copyright year from 2024 to 2025.

* Fix domain UUID check and handle email subject decoding

* Add null coalescing for $value in email_test.php

Ensure $value is not null by providing a default empty string.

* Handle undefined dialplan_uuid in input field

* Add translations for 'Status' label in multiple languages

* Fix typo in config instance check

---------

Co-authored-by: frytimo <tim@fusionpbx.com>
2025-10-15 21:24:59 -06:00
FusionPBX 76e2e7d3b7 Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
FusionPBX d1baf05891 Remove redundant database instances (#7535) 2025-10-01 08:56:06 -06:00
FusionPBX 2fe8b65988 Define app_name and app_uuid as constants (#7534)
* Set a constant on each class for app_name and app_uuid
* Update the database class to use the app_uuid and app_name
* Update the classes to use the database::new()
* Remove the instances of 'new database'
2025-09-30 21:37:09 -06:00