introduce separate log object and callmonitor
[auerswald-callnotifier.git] / src / callnotifier / CallMonitor.php
diff --git a/src/callnotifier/CallMonitor.php b/src/callnotifier/CallMonitor.php
new file mode 100644 (file)
index 0000000..a910e9f
--- /dev/null
@@ -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)
+    {
+    }
+
+}
+
+?>