From 5667aa3157904398e99eb3a9a2ae2d79e97fb19f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 11 Mar 2026 19:23:55 +0000 Subject: [PATCH] Process files in the cdr directory when the service has started --- app/xml_cdr/resources/classes/xml_cdr_service.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/xml_cdr/resources/classes/xml_cdr_service.php b/app/xml_cdr/resources/classes/xml_cdr_service.php index cd55cc3349..f054c46baa 100644 --- a/app/xml_cdr/resources/classes/xml_cdr_service.php +++ b/app/xml_cdr/resources/classes/xml_cdr_service.php @@ -131,6 +131,9 @@ class xml_cdr_service extends service { // Set the initial time $last_poll_time = time(); + // Read the directory to find files to process + $this->process_files(); + // Service work is handled here while ($this->running) {