diff --git a/app/xml_cdr/app_config.php b/app/xml_cdr/app_config.php index e6db27b426..625e029d1e 100644 --- a/app/xml_cdr/app_config.php +++ b/app/xml_cdr/app_config.php @@ -601,6 +601,10 @@ $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; $z++; + $apps[$x]['db'][$y]['fields'][$z]['name'] = "hold_accum_seconds"; + $apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric"; + $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "bridge_uuid"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; @@ -1040,3 +1044,4 @@ $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; ?> + diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 2ecc6d322b..9a370d1f90 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -158,6 +158,7 @@ if (!class_exists('xml_cdr')) { $this->fields[] = "mduration"; $this->fields[] = "billsec"; $this->fields[] = "billmsec"; + $this->fields[] = "hold_accum_seconds"; $this->fields[] = "bridge_uuid"; $this->fields[] = "read_codec"; $this->fields[] = "read_rate"; @@ -642,6 +643,7 @@ if (!class_exists('xml_cdr')) { $this->array[$key][0]['mduration'] = urldecode($xml->variables->billmsec); $this->array[$key][0]['billsec'] = urldecode($xml->variables->billsec); $this->array[$key][0]['billmsec'] = urldecode($xml->variables->billmsec); + $this->array[$key][0]['hold_accum_seconds'] = urldecode($xml->variables->hold_accum_seconds); //codecs $this->array[$key][0]['read_codec'] = urldecode($xml->variables->read_codec); @@ -2191,3 +2193,4 @@ if (!class_exists('xml_cdr')) { } ?> +