mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add hold_accum_seconds to the xml_cdr table
This commit is contained in:
@@ -601,6 +601,10 @@
|
|||||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "numeric";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||||
$z++;
|
$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]['name'] = "bridge_uuid";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||||
@@ -1040,3 +1044,4 @@
|
|||||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
@@ -158,6 +158,7 @@ if (!class_exists('xml_cdr')) {
|
|||||||
$this->fields[] = "mduration";
|
$this->fields[] = "mduration";
|
||||||
$this->fields[] = "billsec";
|
$this->fields[] = "billsec";
|
||||||
$this->fields[] = "billmsec";
|
$this->fields[] = "billmsec";
|
||||||
|
$this->fields[] = "hold_accum_seconds";
|
||||||
$this->fields[] = "bridge_uuid";
|
$this->fields[] = "bridge_uuid";
|
||||||
$this->fields[] = "read_codec";
|
$this->fields[] = "read_codec";
|
||||||
$this->fields[] = "read_rate";
|
$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]['mduration'] = urldecode($xml->variables->billmsec);
|
||||||
$this->array[$key][0]['billsec'] = urldecode($xml->variables->billsec);
|
$this->array[$key][0]['billsec'] = urldecode($xml->variables->billsec);
|
||||||
$this->array[$key][0]['billmsec'] = urldecode($xml->variables->billmsec);
|
$this->array[$key][0]['billmsec'] = urldecode($xml->variables->billmsec);
|
||||||
|
$this->array[$key][0]['hold_accum_seconds'] = urldecode($xml->variables->hold_accum_seconds);
|
||||||
|
|
||||||
//codecs
|
//codecs
|
||||||
$this->array[$key][0]['read_codec'] = urldecode($xml->variables->read_codec);
|
$this->array[$key][0]['read_codec'] = urldecode($xml->variables->read_codec);
|
||||||
@@ -2191,3 +2193,4 @@ if (!class_exists('xml_cdr')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user