]> git.defcon.no Git - hermes/blob - api/config.php.sample
8b64b303346076b43e5f8d9f6e7cf440c001d03f
[hermes] / api / config.php.sample
1 <?php
2
3 function get_config()
4 {
5 return array(
6 'sql_server' => 'localhost',
7 'sql_username' => 'dbusername',
8 'sql_password' => 'dbuserpass',
9
10 'kamailio_db' => 'kamailio',
11 'hermes_db' => 'hermes',
12
13 'kamailio_domain_table' => 'domain',
14 'kamailio_subscriber_table' => 'subscriber',
15 'kamailio_alias_table' => 'dbaliases',
16 'kamailio_domain_table' => 'domain',
17
18 'hermes_users_table' => 'users',
19 'hermes_phones_table' => 'phones',
20 'hermes_servers_table' => 'servers',
21 'numbers_table' => 'number_pool',
22 'apikeys_table' => 'apikeys',
23 'authorizations_table' => 'authorizations',
24 'sessionkeys_table' => 'sessionkeys',
25
26 'auth_backend' => 'permitall',
27 'sessionkey_lifetime' => 5, // Minutes
28 'standard_dialplan' => '(*xx*.|xxx.)',
29 'default_domain' => 'hig.no',
30 'permit_multiple_e164alias' => false,
31 'standard_password_length' => 10,
32 );
33 }
34 ?>