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) {