Add processed as an optional column in the CDR table
This commit is contained in:
@@ -875,6 +875,12 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "processed";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "boolean";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "call_flow";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = "jsonb";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
@@ -1254,4 +1260,3 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ $view['sql'] .= " c.cc_agent_uuid, c.cc_agent, c.cc_agent_type, c.cc_agent_brid
|
||||
$view['sql'] .= " c.cc_queue_answered_epoch, c.cc_queue_terminated_epoch, c.cc_queue_canceled_epoch, ";
|
||||
$view['sql'] .= " c.cc_cancel_reason, c.cc_cause, c.waitsec, c.conference_name, c.conference_uuid, ";
|
||||
$view['sql'] .= " c.conference_member_id, c.digits_dialed, c.pin_number, c.status, c.hangup_cause, ";
|
||||
$view['sql'] .= " c.hangup_cause_q850, c.sip_hangup_disposition, c.call_flow, c.xml, c.insert_date, ";
|
||||
$view['sql'] .= " c.hangup_cause_q850, c.sip_hangup_disposition, c.processed, c.call_flow, c.xml, c.insert_date, ";
|
||||
$view['sql'] .= " c.insert_user, c.update_date, c.update_user, ";
|
||||
$view['sql'] .= " CASE ";
|
||||
$view['sql'] .= " WHEN c.json IS NOT NULL THEN c.json ";
|
||||
|
||||
Reference in New Issue
Block a user