* export call_center_queue_uuid channel variable to agent legs for cdr import
* add call_center_queue_uuid field to cdr for referenceing the call center queue table (cc_queue is a freeswitch variable for the queue name)
This commit is contained in:
@@ -576,6 +576,12 @@
|
||||
$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_center_queue_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = "v_call_centers";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = "call_center_uuid";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Queue uuid";
|
||||
$z++;
|
||||
$apps[$x]['db'][$y]['fields'][$z]['name'] = "cc_side";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "Queue side is either member or agent";
|
||||
|
||||
Reference in New Issue
Block a user