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:
@@ -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();
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user