2012-06-04 16:58:40 +02:00
|
|
|
<?php
|
|
|
|
|
//application details
|
|
|
|
|
$apps[$x]['name'] = "XML CDR";
|
|
|
|
|
$apps[$x]['uuid'] = '4a085c51-7635-ff03-f67b-86e834422848';
|
|
|
|
|
$apps[$x]['category'] = 'Switch';;
|
|
|
|
|
$apps[$x]['subcategory'] = '';
|
|
|
|
|
$apps[$x]['version'] = '';
|
|
|
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
|
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['description']['en-us'] = 'Call Detail Records with all information about the call.';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['es-mx'] = '';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['description']['de-de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['de-at'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['description']['fr-fr'] = 'Historique des Appels complets.';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['description']['pt-pt'] = 'Detalhes das Gravações de Voz com todas as informações sobre a chamada.';
|
|
|
|
|
$apps[$x]['description']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//menu details
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Apps';
|
2012-10-11 03:28:18 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de-de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = 'Apps';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
2013-09-30 15:19:40 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Aplicações';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['menu'][0]['uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
|
|
|
$apps[$x]['menu'][0]['parent_uuid'] = '';
|
|
|
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
|
|
|
$apps[$x]['menu'][0]['path'] = '/app/xml_cdr/xml_cdr.php';
|
|
|
|
|
$apps[$x]['menu'][0]['order'] = '20';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'user';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
|
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
|
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][1]['title']['en-us'] = 'Call Detail Records';
|
2013-03-10 06:39:45 +01:00
|
|
|
$apps[$x]['menu'][1]['title']['es-mx'] = '';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['menu'][1]['title']['de-de'] = '';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][1]['title']['de-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][1]['title']['de-at'] = '';
|
2013-09-17 22:02:19 +02:00
|
|
|
$apps[$x]['menu'][1]['title']['fr-fr'] = 'Historiques Appels';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['menu'][1]['title']['fr-ca'] = '';
|
|
|
|
|
$apps[$x]['menu'][1]['title']['fr-ch'] = '';
|
|
|
|
|
$apps[$x]['menu'][1]['title']['pt-pt'] = 'Detalhes das Gravações de Voz';
|
|
|
|
|
$apps[$x]['menu'][1]['title']['pt-br'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['menu'][1]['uuid'] = '8f80e71a-31a5-6432-47a0-7f5a7b271f05';
|
|
|
|
|
$apps[$x]['menu'][1]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
|
|
|
$apps[$x]['menu'][1]['category'] = 'internal';
|
|
|
|
|
$apps[$x]['menu'][1]['path'] = '/app/xml_cdr/xml_cdr.php';
|
|
|
|
|
$apps[$x]['menu'][1]['groups'][] = 'user';
|
|
|
|
|
$apps[$x]['menu'][1]['groups'][] = 'admin';
|
|
|
|
|
$apps[$x]['menu'][1]['groups'][] = 'superadmin';
|
|
|
|
|
|
|
|
|
|
//permission details
|
2013-03-16 16:14:36 +01:00
|
|
|
$y = 0;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_view';
|
2013-09-30 17:22:35 +02:00
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'][] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
|
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'][] = '8f80e71a-31a5-6432-47a0-7f5a7b271f05';
|
2013-03-16 16:14:36 +01:00
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'user';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_domain';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
2013-09-30 17:22:35 +02:00
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_add';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_edit';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
|
|
|
$y++;
|
|
|
|
|
$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_delete';
|
|
|
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
2013-03-16 16:14:36 +01:00
|
|
|
//$y++;
|
|
|
|
|
//$apps[$x]['permissions'][$y]['name'] = 'xml_cdr_all';
|
|
|
|
|
//$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
2012-06-04 16:58:40 +02:00
|
|
|
|
|
|
|
|
//schema details
|
|
|
|
|
$y = 0; //table array index
|
|
|
|
|
$z = 0; //field array index
|
|
|
|
|
$apps[$x]['db'][$y]['table'] = 'v_xml_cdr';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'xml_cdr_id';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$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]['key']['type'] = 'primary';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$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]['key']['type'] = 'foreign';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
2013-03-10 06:39:45 +01:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'extension_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$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]['key']['type'] = 'foreign';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_extensions';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'extension_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
|
|
$z++;
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_name';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'accountcode';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'direction';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'default_language';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'context';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'xml_cdr';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'caller_id_name';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'caller_id_number';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'destination_number';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'start_epoch';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'bigint';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'start_stamp';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'answer_stamp';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'timestamp';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'date';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'timestamp';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'answer_epoch';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'bigint';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'end_epoch';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'bigint';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'end_stamp';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'duration';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'mduration';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'billsec';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'billmsec';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'bridge_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'read_codec';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'read_rate';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'write_codec';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'write_rate';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'remote_media_ip';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'network_addr';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'recording_file';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Indicates if a recording was made. If a recording exists set this value to true.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'leg';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'char(1)';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(1)';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'The leg of the call a or b.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'pdd_ms';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'numeric';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'smallint';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Post Dial Delay (PDD) in miliseconds. Divide by 1000 for seconds.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_app';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Save the last application in the leg.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'last_arg';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Save the last application data.';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_side';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Queue side is either member or agent';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_member_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Unique member identifier';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_queue_joined_epoch';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Epoch when caller joined the queue';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_queue';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Queue';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_member_session_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Unique session identifier';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_agent';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'agent name';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'cc_agent_type';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'agent type';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'waitsec';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'wait seconds';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_name';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'conference name';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'conference unique identifier';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'conference_member_id';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'conference member id';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'digits_dialed';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'digits dialed';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'hangup_cause';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'hangup_cause_q850';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'numeric';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
2012-06-04 16:58:40 +02:00
|
|
|
$z++;
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'sip_hangup_disposition';
|
|
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
2012-10-11 02:07:03 +02:00
|
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = 'Save who hung up or cancelled the leg.';
|
2012-06-04 16:58:40 +02:00
|
|
|
|
2013-09-30 15:19:40 +02:00
|
|
|
?>
|