2012-06-04 14:58:40 +00:00
<? php
2014-12-26 03:27:54 +00:00
2012-06-04 14:58:40 +00:00
//application details
$apps [ $x ][ 'name' ] = "Call Center" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'uuid' ] = "95788e50-9500-079e-2807-fd530b0ea370" ;
2015-06-21 05:43:06 +00:00
$apps [ $x ][ 'category' ] = "Switch" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'subcategory' ] = "" ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'version' ] = "1.0" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'license' ] = "Mozilla Public License 1.1" ;
$apps [ $x ][ 'url' ] = "http://www.fusionpbx.com" ;
2013-09-30 16:21:08 +00:00
$apps [ $x ][ 'description' ][ 'en-us' ] = "Queues for managing inbound calls and routing those calls to available agents." ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'ar-eg' ] = "" ;
2017-04-27 07:41:55 +02:00
$apps [ $x ][ 'description' ][ 'de-at' ] = "Warteschlangen um eingehende Anrufe zu verwalten und diese an verfügbare Agenten weiterzuleiten." ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'de-ch' ] = "" ;
$apps [ $x ][ 'description' ][ 'de-de' ] = "Warteschlangen um eingehende Anrufe zu verwalten und diese an verfügbare Agenten weiterzuleiten." ;
$apps [ $x ][ 'description' ][ 'es-cl' ] = "Colas pra administar las llamadas entrantes y enviarlas a los agentes disponibles" ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = "" ;
2013-09-30 16:21:08 +00:00
$apps [ $x ][ 'description' ][ 'fr-ca' ] = "Queues pour envoyer les appels entrants vers les agents disponibles." ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = "Files d'attente d'appels entrants distribu%uFFFDs aux agents disponibles." ;
$apps [ $x ][ 'description' ][ 'he-il' ] = "" ;
$apps [ $x ][ 'description' ][ 'it-it' ] = "" ;
$apps [ $x ][ 'description' ][ 'nl-nl' ] = "" ;
$apps [ $x ][ 'description' ][ 'pl-pl' ] = "" ;
2016-08-25 14:03:51 -03:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = "As filas servem para gerenciar as chamadas que entram e encaminhar as mesmas para os agentes disponíveis." ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = "As filas servem para gerenciamento de chamadas de entrada e encaminhamento das mesmas para os agentes dispon%uFFFDveis." ;
$apps [ $x ][ 'description' ][ 'ro-ro' ] = "" ;
$apps [ $x ][ 'description' ][ 'ru-ru' ] = "" ;
$apps [ $x ][ 'description' ][ 'sv-se' ] = "" ;
$apps [ $x ][ 'description' ][ 'uk-ua' ] = "" ;
2012-06-04 14:58:40 +00:00
2015-08-04 14:52:10 -06:00
//destination details
2017-02-15 21:32:01 -07:00
$y = 0 ;
2015-08-04 14:52:10 -06:00
$apps [ $x ][ 'destinations' ][ $y ][ 'type' ] = "sql" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'label' ] = "call_centers" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'name' ] = "call_centers" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'sql' ] = "select queue_extension as destination, queue_description as description from v_call_center_queues" ;
2015-08-05 18:17:39 -05:00
$apps [ $x ][ 'destinations' ][ $y ][ 'where' ] = "where domain_uuid = ' \$ {domain_uuid}' " ;
2015-08-04 14:52:10 -06:00
$apps [ $x ][ 'destinations' ][ $y ][ 'order_by' ] = "queue_name asc" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'name' ] = "queue_name" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'destination' ] = "queue_extension" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'field' ][ 'description' ] = "queue_description" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'dialplan' ] = "transfer: \$ {destination} XML \$ {context}" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_value' ][ 'ivr' ] = "menu-exec-app:transfer \$ {destination} XML \$ {context}" ;
$apps [ $x ][ 'destinations' ][ $y ][ 'select_label' ] = " \$ {destination} \$ {name} \$ {description}" ;
2012-06-04 14:58:40 +00:00
//permission details
2017-02-15 21:32:01 -07:00
$y = 0 ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_queue_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = "6c072b29-5b6c-49fc-008e-95e24c77de99" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "agent" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_queue_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_queue_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_queue_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_agent_view" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = "597c483a-51a9-f95a-8d54-ea7d87ada2b8" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_agent_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_agent_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_agent_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_tier_view" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = "6c072b29-5b6c-49fc-008e-95e24c77de99" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_tier_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_tier_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_tier_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_log_view" ;
2013-10-17 22:06:53 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'menu' ][ 'uuid' ] = "6c072b29-5b6c-49fc-008e-95e24c77de99" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_log_add" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_log_edit" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
2013-09-30 16:21:08 +00:00
$y ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'permissions' ][ $y ][ 'name' ] = "call_center_log_delete" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "superadmin" ;
$apps [ $x ][ 'permissions' ][ $y ][ 'groups' ][] = "admin" ;
2018-01-28 04:52:25 -07:00
$y ++ ;
2012-06-04 14:58:40 +00:00
2017-04-29 23:28:32 -06:00
//default settings
$y = 0 ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = "8ebeb864-f03e-406c-b82f-6eb47cb1bd39" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = "limit" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = "call_center_queues" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = "numeric" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = "3" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = "false" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = "" ;
2018-04-04 15:57:41 -06:00
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = "b32179ad-96a4-4d83-8677-1fd8fc5ef6df" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = "call_center" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = "agent_add_rows" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = "numeric" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = "5" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = "true" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = "" ;
$y ++ ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_uuid' ] = "533eac69-887f-47aa-bf27-0751797555f5" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_category' ] = "call_center" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_subcategory' ] = "agent_edit_rows" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_name' ] = "numeric" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_value' ] = "1" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_enabled' ] = "true" ;
$apps [ $x ][ 'default_settings' ][ $y ][ 'default_setting_description' ] = "" ;
2017-04-29 23:28:32 -06:00
2012-06-04 14:58:40 +00:00
//schema details
2017-02-15 21:32:01 -07:00
$y = 0 ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_call_center_agents" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "call_center_agent_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "call_center_agent_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2017-05-16 10:25:17 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "user_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_users" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "user_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "v_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_type" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_call_timeout" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2015-05-03 16:55:43 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_password" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2015-05-04 02:50:31 +00:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_contact" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_status" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_logout" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_max_no_answer" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_wrap_up_time" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_reject_delay_time" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_busy_delay_time" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_no_answer_delay_time" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
2017-02-15 21:32:01 -07:00
$y ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_call_center_queues" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "call_center_queue_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "call_center_queue_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "dialplan_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_dialplans" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "dialplan_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "v_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_extension" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2018-07-18 16:59:21 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_greeting" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "Select the greeting." ;
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_strategy" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_moh_sound" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_record_template" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_time_base_score" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_max_wait_time" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_max_wait_time_with_no_agent" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_max_wait_time_with_no_agent_time_reached" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_tier_rules_apply" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_tier_rule_wait_second" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_tier_rule_no_agent_no_wait" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_timeout_action" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_discard_abandoned_after" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_abandoned_resume_allowed" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_tier_rule_wait_multiply_level" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_cid_prefix" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2014-08-07 15:46:44 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_announce_sound" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_announce_frequency" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2017-06-03 16:00:20 +01:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_cc_exit_keys" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2017-04-18 14:03:41 -04:00
$z ++ ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_description" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
2017-02-15 21:32:01 -07:00
$y ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'name' ] = "v_call_center_tiers" ;
$apps [ $x ][ 'db' ][ $y ][ 'table' ][ 'parent' ] = "" ;
$z = 0 ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = "id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = "call_center_tier_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "call_center_tier_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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2018-03-31 11:08:48 -06:00
$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" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2016-10-05 06:03:28 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "call_center_queue_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_call_center_queues" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "call_center_queue_uuid" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
2018-03-31 11:08:48 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "call_center_agent_uuid" ;
2013-10-01 11:35:07 +00:00
$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)" ;
2018-03-31 11:08:48 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "primary" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'type' ] = "foreign" ;
2018-03-31 11:08:48 -06:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'table' ] = "v_call_center_agents" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = "call_center_agent_uuid" ;
2013-10-01 11:35:07 +00:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "v_id" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'deprecated' ] = "true" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "agent_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "queue_name" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "text" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "tier_level" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
$z ++ ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = "tier_position" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = "numeric" ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = "" ;
2012-06-04 14:58:40 +00:00
2018-01-28 04:52:25 -07:00
?>