3 * Callnotifier configuration file
4 * Copy that file to callnotifier.config.php and adjust it to your needs
6 namespace callnotifier;
8 //IP of Auerswald COMpact 3000
9 $config->host = '192.168.1.2';
11 //Load caller names from LDAP
12 $callMonitor->addDetailler(
13 new CallMonitor_Detailler_LDAP(
15 'host' => '192.168.1.10',
16 'basedn' => 'ou=adressbuch,dc=example,dc=org',
17 'binddn' => 'cn=readonly,ou=users,dc=example,dc=org',
18 'bindpw' => 'readonly'
23 //Load caller locations (city) from OpenGeoDb
24 $callMonitor->addDetailler(
25 new CallMonitor_Detailler_OpenGeoDb(
26 'mysql:host=192.168.1.10;dbname=opengeodb',
33 //Show starting and finished calls on the shell
35 new Logger_CallEcho(), array('startingCall', 'finishedCall')
38 //Log incoming finished calls to MSN 12345 to file "incoming.log"
40 new Logger_CallFile('incoming.log', 'i', '12345'),
43 //Log all finished calls to file "all.log"
45 new Logger_CallFile('all.log'),
48 //Log finished calls into a SQL database
51 'mysql:host=192.168.1.10;dbname=callnotifier',