Replace duplicated v_xml_cdr_import.php with a call to the post method of xml_cdr (#5956)

* Redirect duplicated xml_cdr_import script

This replaces the duplicated code in v_xml_cdr_import.php with xml_cdr_import.php

This also adds a call to `$cdr->post();` in that file to then process the POSTed data from FreeSWITCH
This commit is contained in:
Andrew Querol
2021-05-26 09:54:08 -06:00
committed by GitHub
parent 7133f35af5
commit b67d55b39c
2 changed files with 7 additions and 699 deletions
+3 -1
View File
@@ -44,8 +44,10 @@
ini_set('memory_limit', '256M');
ini_set("precision", 6);
//import from the file system
$cdr = new xml_cdr;
//import from the FreeSWITCH POST
$cdr->post();
//import from the file system
$cdr->read_files();
?>