more debugging for sendxmpp logger
[auerswald-callnotifier.git] / scripts / test-xmpp.php
1 <?php
2 namespace callnotifier;
3 require_once __DIR__ . '/../tests/bootstrap.php';
4
5 $l = new Logger_CallSendXmpp('cweiske@cweiske.de', 'i', array('12345'));
6 $l->debug = true;
7
8 $call = new CallMonitor_Call();
9 $call->type  = 'i';
10 $call->from  = '03411234567';
11 //$call->fromName = 'Foo Bar';
12 $call->fromLocation = 'Leipzig';
13 $call->to    = '12345';
14 $call->start = strtotime('2013-08-03 20:11');
15 $call->end   = strtotime('2013-08-03 20:12');
16 $l->log('startingCall', array('call' => $call));
17
18 ?>