2012-06-04 16:58:40 +02:00
< ? php
//application details
$apps [ $x ][ 'name' ] = " Call Broadcast " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'uuid' ] = " efc11f6b-ed73-9955-4d4d-3a1bed75a056 " ;
$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 " ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'description' ][ 'en-us' ] = " Schedule to immediately make multiple calls to the extension, an IVR Menu, Conference Room, or any other number. " ;
$apps [ $x ][ 'description' ][ 'es-mx' ] = " Realiza llamadas inmediatamente a extensiones, IVR, conferencias o cualquier otro número " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'de-de' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-ch' ] = " " ;
$apps [ $x ][ 'description' ][ 'de-at' ] = " " ;
2013-09-17 22:02:19 +02:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = " Programme des appels multiples vers des extensions, IVR, salles de conferences ou autre. " ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'description' ][ 'fr-ca' ] = " Il fait d' massive appels vers des extensions, IVR, salles de conferences ou quelqu'autre nom. " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'fr-ch' ] = " " ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'description' ][ 'pt-pt' ] = " Programação para imediatamente fazer várias chamadas para a extensão de um menu de URA, Sala de Conferência, ou qualquer outro número. " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'description' ][ 'pt-br' ] = " " ;
2012-06-04 16:58:40 +02:00
//menu details
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'en-us' ] = " Call Broadcast " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'es-mx' ] = " Llamada Masiva (Broadcast) " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'de-de' ] = " " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'de-ch' ] = " " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'de-at' ] = " " ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-fr' ] = " Appels de masse " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-ca' ] = " " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-ch' ] = " " ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'pt-pt' ] = " Chamada de Broadcast " ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'pt-br' ] = " " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'uuid' ] = " 50153bbf-78c5-b49e-7bd9-4b3e4b1134e6 " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'parent_uuid' ] = " fd29e39c-c936-f5fc-8e2b-611681b266b5 " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'category' ] = " internal " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'groups' ][] = " superadmin " ;
$apps [ $x ][ 'menu' ][ 0 ][ 'path' ] = " /app/call_broadcast/call_broadcast.php " ;
2012-06-04 16:58:40 +02:00
//permission details
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ 0 ][ 'name' ] = " call_broadcast_view " ;
$apps [ $x ][ 'permissions' ][ 0 ][ 'menu' ][ 'uuid' ] = " 50153bbf-78c5-b49e-7bd9-4b3e4b1134e6 " ;
$apps [ $x ][ 'permissions' ][ 0 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ 0 ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ 1 ][ 'name' ] = " call_broadcast_add " ;
$apps [ $x ][ 'permissions' ][ 1 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ 1 ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ 2 ][ 'name' ] = " call_broadcast_edit " ;
$apps [ $x ][ 'permissions' ][ 2 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ 2 ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ 3 ][ 'name' ] = " call_broadcast_delete " ;
$apps [ $x ][ 'permissions' ][ 3 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ 3 ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'permissions' ][ 4 ][ 'name' ] = " call_broadcast_send " ;
$apps [ $x ][ 'permissions' ][ 4 ][ 'groups' ][] = " admin " ;
$apps [ $x ][ 'permissions' ][ 4 ][ 'groups' ][] = " superadmin " ;
2012-06-04 16:58:40 +02:00
//schema details
$y = 0 ; //table array index
$z = 0 ; //field array index
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'table' ] = " v_call_broadcasts " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " id " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = " call_broadcast_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 " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " call_broadcast_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ][] = " call_call_broadcast_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ][] = " broadcast_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' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02: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' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02: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 " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_name " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " broadcast_description " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = " broadcast_desc " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_timeout " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_concurrent_limit " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " numeric " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = " recording_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = " recordingid " ;
$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_recordings " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'key' ][ 'reference' ][ 'field' ] = " recording_uuid " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_caller_id_name " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_caller_id_number " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_destination_type " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_phone_numbers " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-10-01 13:35:07 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = " broadcast_destination_data " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = " text " ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'description' ][ 'en-us' ] = " " ;
2012-06-04 16:58:40 +02:00
2013-09-30 15:19:40 +02:00
?>