1134 Commits

Author SHA1 Message Date
frytimo
88ac778135 Only check database connection when cdr files exist (#7538) 2025-10-01 20:57:34 -06:00
FusionPBX
3385817596 Update xml_cdr.php 2025-09-02 13:12:26 -06:00
FusionPBX
d80308ebdb Update xml_cdr.php 2025-08-21 22:36:39 -06:00
FusionPBX
79c502151f Update failed directory permissions 2025-08-21 18:31:08 -06:00
FusionPBX
4b5be628a7 Update the systemd service files 2025-08-19 18:16:44 -06:00
FusionPBX
2ae1dc11b1 Update xml_cdr service
Use array_slice to make the code more efficient

Service is unable to create the directories. Make the failed directories with app_defaults when run from command line.

php /var/www/fusionpbx/core/upgrade/upgrade.php
chown -R www-data:www-data /var/log/freeswitch/xml_cdr
2025-08-16 12:03:10 -06:00
FusionPBX
bce2095d5f Fix CDR - Export: to honor call center queue, ring group and recordings 2025-08-07 11:48:28 -06:00
FusionPBX
ba4fb2c086 Fix TTA use waitsec 2025-08-05 13:24:48 -06:00
FusionPBX
1bc8f1798e Update xml_cdr.php
Remove billsec greater than 0. The reason is that a call maybe answered to play a greeting. Bridged is a better option because the call has a second leg.
2025-07-23 15:32:20 -06:00
FusionPBX
9066afb82a Prevent a count error
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given
2025-07-07 18:11:54 -06:00
FusionPBX
6e5f7eabca Fix caller_id_name 2025-07-05 08:55:56 -06:00
FusionPBX
e9fcc04d3f Allow missed_call override
allow calls marked as missed_call value to be overridden, an alternate destination may have answered the call
2025-07-03 13:45:44 -06:00
FusionPBX
cd892288e5 Update xml_cdr_details.php 2025-06-30 17:41:43 -06:00
FusionPBX
a75a289a2d Use www-data for the xml_cdr service 2025-06-25 12:11:20 -06:00
FusionPBX
86f0561e0c Move the call recording above transcription 2025-06-23 22:33:55 -06:00
fusionate
17be5f51a3 CDR - Details: Display call recording playback/waveform, if allowed. 2025-06-23 13:24:14 -06:00
Alex
780af3dd29 Add icons to call details page (#7391)
* Add icons to call details page

* Update xml_cdr.php
2025-06-18 15:25:47 -06:00
FusionPBX
b5efee25c7 Fix call center missed call
Fixed this by changing the order of operations.
Billsec greater than zero overrode missed call equal to true.
2025-06-17 12:56:48 -06:00
FusionPBX
564394c205 Add extension_uuid to the CDR array 2025-06-06 17:13:03 -06:00
FusionPBX
4b54f93382 Use the agent_id as an alternative way to get the extension_uuid 2025-06-06 15:41:24 -06:00
FusionPBX
cfd862cf64 Update xml_cdr.php 2025-06-05 10:20:43 -06:00
Rob Mosher
5722d3e9e6 Fix CDR HTTP authentication logic bug (#7382)
- Add missing negation operator in http_enabled check
- Resolves silent CDR import failures when http_enabled is true
- Fixes authentication logic that was preventing valid HTTP CDR imports
2025-05-31 09:01:17 -06:00
FusionPBX
9445d39cc2 Add IVR Menu search to Call Detail Records 2025-05-24 18:14:53 -06:00
FusionPBX
54da8c7ff1 Add xml_cdr_call_log permission 2025-05-02 10:44:13 -06:00
FusionPBX
ee322d23b6 Fix a syntax issue and remove the optional php close tag 2025-04-22 10:06:03 -06:00
FusionPBX
bd1258b126 Add missing translations 2025-04-22 10:02:19 -06:00
FusionPBX
fb1bb6c85b Update xml_cdr.php 2025-04-21 18:17:22 -06:00
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
b7e24103bf Use the sessions get method to get rows_per_page 2025-04-14 09:27:06 -06:00
Alex
c305685d23 Fix dashboard edit defaults (#7340)
* Fix dashboard edit defaults

* Update app_defaults.php

* Update config.php
2025-03-27 15:41:38 -06:00
FusionPBX
7fe291dfcf Update xml_cdr.php
Use the permission_exists and is_uuid conditions at the top of the download class method. If false use return to prevent running code without the right permission and a valid uuid.
2025-03-26 18:34:54 -06:00
FusionPBX
288f693c12 Increase the delay when database is not connected 2025-03-26 11:48:18 -06:00
FusionPBX
67da2f2a3d Make sure the database connection is available 2025-03-26 11:30:34 -06:00
FusionPBX
9ee9aa4023 Update xml_cdr.php 2025-03-22 21:03:19 -06:00
FusionPBX
f58ed065fc cdr http_enabled default to false
Using the file system by default instead of HTTP POST
2025-03-22 17:09:51 -06:00
FusionPBX
7fae8eefca Update xml_cdr.php 2025-03-22 17:03:37 -06:00
FusionPBX
0bec2b9aef Remove empty XML CDR files 2025-03-18 13:40:47 -06:00
Alex
1e96df6e95 Change $setting to $settings (#7318)
* Change $setting to $settings

* Update app_defaults.php

* Update fax_queue.php

* Update xml_cdr.php

* Update email_queue.php

* Update transcribe.php

* Update send.php

* Update fax_queue.php

* Update fax_send.php

* Update app_defaults.php

* Update email_queue.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php

* Update app_defaults.php
2025-03-14 16:19:49 -06:00
Alex
7639f0755c Update xml_cdr.php (#7315)
* Update xml_cdr.php

* Update css.php

* Update template.php
2025-03-13 14:58:15 -06:00
Alex
5dffd4d6e0 Add CDR column_overflow default setting (#7314)
* Add cdr column_overflow default setting

* Update app_config.php

* Update xml_cdr.php

* Update default_setting_edit.php

* Update template.php

* Update app_languages.php

* Update css.php
2025-03-13 14:49:30 -06:00
FusionPBX
b0a630e80a Use no-wrap class 2025-03-13 11:25:15 -06:00
FusionPBX
ee28c6d203 Fix Call Detail Records with invalid xml 2025-03-13 10:06:36 -06:00
frytimo
08001488f4 Allow namespace in auto loader (#7307)
* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove class_exists wrapper for class definitions

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove include statement of class file

* remove closing tag

* remove invalid method params

* remove closing tag

* remove closing tag

* Update auto_loader to load each class file in the project
Update the auto_loader class to use an include statement on each file in the project to load the class within the file. This will allow mismatched names within the file to be loaded and mapped according to the declaration instead of the filename. The class is then checked against the parsed classes from the PHP engine so that namespaces are available and mapped to the file they were declared in. An update was also made to the search algorithm used to find a file that was not already loaded by collapsing the array to have only valid matches to increase performance on a cache miss. Logging within the auto_loader has been moved to a function.
Multiple files were modified to allow the include statement. When the class has the `if(class_exists())` statement, the auto_loader is called to check for the class. This caused an infinite loop scenario so all wrappers have been removed. The auto_loader will now break the loop by directly modifying the internal classes array instead of trying to restart with the 'reload_classes' method.

- APCu is used to cache classes so any loading of the classes is done only once. To clear the APCu cache, restart php-fpm or call the auto_loader::clear_cache() function.
- Cache file is used when APCu is not available. To clear the cache remove it from the tmp folder or call the auto_loader::clear_cache() function.
- All classes must no longer have a class_exists wrapper to benefit from the performance boost.
- Classes should not be directly included when the auto_loader is used.

* remove include statement of class file

* Update destinations.php
2025-03-12 13:55:47 -06:00
FusionPBX
af9691ff41 Fix missed_call use as boolean 2025-03-11 19:54:54 -06:00
FusionPBX
1be15d7d9c Update responsive design 2025-03-11 14:27:45 -06:00
FusionPBX
8ef90b9dcc Update xml_cdr.php 2025-03-08 14:42:35 -07:00
fusionate
03030465d9 Audio Waveform: Boolean adjustments. 2025-03-05 16:09:17 -07:00
frytimo
d529021b3f Use boolean setting as true boolean (#7284)
* use boolean setting as true boolean

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.

* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
2025-03-04 11:25:47 -07:00
FusionPBX
b4de6f5e4b Use status voicemail
Moved voicemail status after missed calls. This way, it will show the status of voicemail when it goes to voicemail.

There is still a field in the CDR for missed_call and this will still be set to true.
2025-02-28 17:09:35 -07:00
Alex
8cfc221da4 Redirect to the correct domain if using show all (#7265)
* Redirect to the correct domain if using show all

* Update bridges.php

* Update call_recordings.php

* Update conference_controls.php

* Update conference_profile_params.php

* Update conference_profiles.php

* Update email_queue.php

* Update event_guard_logs.php

* Update fax_queue.php

* Update user_settings.php

* Update require.php
2025-02-20 16:30:09 -07:00