aboutsummaryrefslogtreecommitdiff
path: root/src/callnotifier/CallMonitor.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/callnotifier/CallMonitor.php')
-rw-r--r--src/callnotifier/CallMonitor.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/callnotifier/CallMonitor.php b/src/callnotifier/CallMonitor.php
new file mode 100644
index 0000000..a910e9f
--- /dev/null
+++ b/src/callnotifier/CallMonitor.php
@@ -0,0 +1,22 @@
+<?php
+namespace callnotifier;
+
+/**
+ * Watches EDSS1 messages for calls. Keeps an internal call state
+ * and notifies loggers of incoming and finished calls.
+ */
+class CallMonitor
+{
+ public function __construct($config, $log)
+ {
+ $this->config = $config;
+ $this->log = $log;
+ }
+
+ public function handle(EDSS1_Message $msg)
+ {
+ }
+
+}
+
+?>