mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Add IVR Menu search to Call Detail Records
This commit is contained in:
@@ -231,6 +231,8 @@
|
||||
$this->fields[] = "hangup_cause";
|
||||
$this->fields[] = "hangup_cause_q850";
|
||||
$this->fields[] = "sip_hangup_disposition";
|
||||
$this->fields[] = "ring_group_uuid";
|
||||
$this->fields[] = "ivr_menu_uuid";
|
||||
|
||||
if (!empty($this->settings->get('cdr', 'field'))) {
|
||||
foreach ($this->settings->get('cdr', 'field') as $field) {
|
||||
@@ -657,7 +659,6 @@
|
||||
$caller_id_number = preg_replace('#[^0-9\-\#\*]#', '', $caller_id_number);
|
||||
|
||||
//misc
|
||||
$this->array[$key][0]['ring_group_uuid'] = urldecode($xml->variables->ring_group_uuid);
|
||||
$this->array[$key][0]['xml_cdr_uuid'] = $uuid;
|
||||
$this->array[$key][0]['destination_number'] = $destination_number;
|
||||
$this->array[$key][0]['sip_call_id'] = urldecode($xml->variables->sip_call_id);
|
||||
@@ -674,6 +675,8 @@
|
||||
$this->array[$key][0]['sip_hangup_disposition'] = urldecode($xml->variables->sip_hangup_disposition);
|
||||
$this->array[$key][0]['pin_number'] = urldecode($xml->variables->pin_number);
|
||||
$this->array[$key][0]['status'] = $status;
|
||||
$this->array[$key][0]['ring_group_uuid'] = urldecode($xml->variables->ring_group_uuid);
|
||||
$this->array[$key][0]['ivr_menu_uuid'] = urldecode($xml->variables->ivr_menu_uuid);
|
||||
|
||||
//time
|
||||
//catch invalid call detail records
|
||||
|
||||
Reference in New Issue
Block a user