2012-06-04 16:58:40 +02:00
< ? php
//application details
$apps [ $x ][ 'name' ] = " Gateways " ;
$apps [ $x ][ 'uuid' ] = '297ab33e-2c2f-8196-552c-f3567d2caaf8' ;
$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' ] = 'Gateways provide access into other voice networks. These can be voice providers or other systems that require SIP registration.' ;
2013-05-13 02:50:43 +02:00
$apps [ $x ][ 'description' ][ 'es-mx' ] = 'Las pasarelas proveen acceso a otras redes de voz. Pueden ser provedores u otro sistema que requiera registo SIP.' ;
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 18:21:08 +02:00
$apps [ $x ][ 'description' ][ 'fr-fr' ] = " Les passerelles donnent access autres réseaux vocaux. Ceux-ci peuvent être des opérateurs ou d'autres systèmes reqieérant un enregistrement SIP " ;
$apps [ $x ][ 'description' ][ 'fr-ca' ] = " Les passerelles donnent access autres réseaux vocaux. Elles pouvent être d'autre furnisseur ou autre système avec la régistration SIP. " ;
2012-10-11 02:07:03 +02:00
$apps [ $x ][ 'description' ][ 'fr-ch' ] = '' ;
$apps [ $x ][ 'description' ][ 'pt-pt' ] = 'Gateways fornecem acesso em redes de voz outros. Estes podem ser os provedores de voz ou outros sistemas que exigem registro SIP.' ;
$apps [ $x ][ 'description' ][ 'pt-br' ] = '' ;
2012-06-04 16:58:40 +02:00
//menu details
2012-10-11 02:07:03 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'en-us' ] = 'Gateways' ;
2013-05-13 02:50:43 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'es-mx' ] = 'Pasarelas' ;
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-17 22:02:19 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-fr' ] = 'Passerelles' ;
2012-10-11 02:07:03 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-ca' ] = '' ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'fr-ch' ] = '' ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'pt-pt' ] = 'Gateways' ;
$apps [ $x ][ 'menu' ][ 0 ][ 'title' ][ 'pt-br' ] = '' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'uuid' ] = '237a512a-f8fe-1ce4-b5d7-e71c401d7159' ;
$apps [ $x ][ 'menu' ][ 0 ][ 'parent_uuid' ] = 'bc96d773-ee57-0cdd-c3ac-2d91aba61b55' ;
$apps [ $x ][ 'menu' ][ 0 ][ 'category' ] = 'internal' ;
2012-11-24 01:59:49 +01:00
$apps [ $x ][ 'menu' ][ 0 ][ 'path' ] = '/app/gateways/gateways.php' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'menu' ][ 0 ][ 'groups' ][] = 'superadmin' ;
//permission details
2012-12-23 09:18:15 +01:00
$apps [ $x ][ 'permissions' ][ 0 ][ 'name' ] = 'gateway_view' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'permissions' ][ 0 ][ 'groups' ][] = 'superadmin' ;
2012-12-23 09:18:15 +01:00
$apps [ $x ][ 'permissions' ][ 1 ][ 'name' ] = 'gateway_add' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'permissions' ][ 1 ][ 'groups' ][] = 'superadmin' ;
2012-12-23 09:18:15 +01:00
$apps [ $x ][ 'permissions' ][ 2 ][ 'name' ] = 'gateway_edit' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'permissions' ][ 2 ][ 'groups' ][] = 'superadmin' ;
2012-12-23 09:18:15 +01:00
$apps [ $x ][ 'permissions' ][ 3 ][ 'name' ] = 'gateway_delete' ;
2012-06-04 16:58:40 +02:00
$apps [ $x ][ 'permissions' ][ 3 ][ 'groups' ][] = 'superadmin' ;
//schema details
$y = 0 ; //table array index
$z = 0 ; //field array index
$apps [ $x ][ 'db' ][ $y ][ 'table' ] = 'v_gateways' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'text' ] = 'id' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ][ 'deprecated' ] = 'gateway_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' ] = 'gateway_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 ++ ;
$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' ] = 'gateway' ;
$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' ] = 'username' ;
$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' ] = 'password' ;
$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' ] = 'distinct_to' ;
$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' ] = 'auth_username' ;
$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' ] = 'realm' ;
$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' ] = 'from_user' ;
$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' ] = 'from_domain' ;
$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' ] = 'proxy' ;
$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' ] = 'register_proxy' ;
$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' ] = 'outbound_proxy' ;
$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' ] = 'expire_seconds' ;
$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' ] = 'register' ;
$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' ] = 'register_transport' ;
$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' ] = 'retry_seconds' ;
$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' ] = 'extension' ;
$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' ] = 'ping' ;
$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_in_from' ;
$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' ] = 'supress_cng' ;
$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' ] = 'sip_cid_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' ] = '' ;
2012-06-04 16:58:40 +02:00
$z ++ ;
2013-09-30 18:21:08 +02:00
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'name' ] = 'codec_prefs' ;
$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' ] = 'channels' ;
$apps [ $x ][ 'db' ][ $y ][ 'fields' ][ $z ][ 'type' ] = 'numeric' ;
$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' ] = 'extension_in_contact' ;
$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' ] = 'profile' ;
$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' ] = 'enabled' ;
$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' ] = 'description' ;
$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
2013-09-24 19:26:48 +02:00
?>