2 namespace callnotifier;
3 require_once __DIR__ . '/../tests/bootstrap.php';
5 //dependencies for the config file
6 $config = new Config();
10 $callMonitor = new CallMonitor($config, $log);
13 $configFile = $cli->getConfigFile();
14 if ($configFile === null) {
15 echo "No config file found\n";
22 $call = new CallMonitor_Call();
24 $call->from = '03411234567';
25 //$call->fromName = 'Foo Bar';
26 $call->fromLocation = 'Leipzig';
28 $call->start = strtotime('2013-08-03 20:11');
29 $call->end = strtotime('2013-08-03 20:12');
31 $log->log('startingCall', array('call' => $call));