diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/test-xmpp.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/test-xmpp.php b/scripts/test-xmpp.php new file mode 100644 index 0000000..b59d9f1 --- /dev/null +++ b/scripts/test-xmpp.php @@ -0,0 +1,17 @@ +<?php +namespace callnotifier; +require_once __DIR__ . '/../tests/bootstrap.php'; + +$l = new Logger_CallSendXmpp('cweiske@cweiske.de', 'i', array('12345')); + +$call = new CallMonitor_Call(); +$call->type = 'i'; +$call->from = '03411234567'; +//$call->fromName = 'Foo Bar'; +$call->fromLocation = 'Leipzig'; +$call->to = '12345'; +$call->start = strtotime('2013-08-03 20:11'); +$call->end = strtotime('2013-08-03 20:12'); +$l->log('startingCall', array('call' => $call)); + +?> |
