examples of how to configure notify-send and dreambox loggers
authorChristian Weiske <cweiske@cweiske.de>
Fri, 10 Aug 2012 20:44:12 +0000 (22:44 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 10 Aug 2012 20:44:12 +0000 (22:44 +0200)
data/callnotifier.config.php.dist

index 3461feb0d2b71ea5bf47c4e908485ba570c836e0..1e79853766f87b08112df11da0ad46895711d5da 100644 (file)
@@ -55,4 +55,16 @@ $log->addLogger(
     array('finishedCall')
 );
 
+//Log starting calls to the dreambox satellite receiver
+$log->addLogger(
+    new Logger_CallDreambox('192.168.1.12', 'i', array('12345', '12346')),
+    array('startingCall')
+);
+
+//Show desktop notifications for calls (via notify-send)
+$log->addLogger(
+    new Logger_CallNotifySend('i', array('40862', '40835')),
+    array('startingCall', 'finishedCall')
+);
+
 ?>