* 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:
agree
2021-05-09 15:52:42 -04:00
parent 884720489f
commit 06062b7fba
3 changed files with 10 additions and 15 deletions
+6
View File
@@ -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";