Add extension_uuid to xml cdr.

This commit is contained in:
Mark Crane
2013-03-10 05:39:45 +00:00
parent ca6476faf9
commit 1993560b35
7 changed files with 381 additions and 5 deletions
+6 -1
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2012
Portions created by the Initial Developer are Copyright (C) 2008-2013
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -210,6 +210,11 @@ function process_xml_cdr($db, $leg, $xml_string) {
$database->fields['xml_cdr'] = check_str($xml_string);
}
//insert the check_str($extension_uuid)
if (check_str($extension_uuid)) {
$database->fields['extension_uuid'] = check_str($extension_uuid);
}
//insert xml_cdr into the db
if (strlen($start_stamp) > 0) {
$database->add();