git.cweiske.de
/
auerswald-callnotifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dac1910
)
examples of how to configure notify-send and dreambox loggers
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 10 Aug 2012 20:44:12 +0000
(22:44 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 10 Aug 2012 20:44:12 +0000
(22:44 +0200)
data/callnotifier.config.php.dist
patch
|
blob
|
history
diff --git
a/data/callnotifier.config.php.dist
b/data/callnotifier.config.php.dist
index 3461feb0d2b71ea5bf47c4e908485ba570c836e0..1e79853766f87b08112df11da0ad46895711d5da 100644
(file)
--- a/
data/callnotifier.config.php.dist
+++ b/
data/callnotifier.config.php.dist
@@
-55,4
+55,16
@@
$log->addLogger(
array('finishedCall')
);
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')
+);
+
?>
?>