Add extension_uuid to xml cdr.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user