added 1592 -> reset @ checkphone
authorChristian Pointner <equinox@realraum.at>
Tue, 19 Jul 2011 22:25:03 +0000 (22:25 +0000)
committerChristian Pointner <equinox@realraum.at>
Tue, 19 Jul 2011 22:25:03 +0000 (22:25 +0000)
checkphone.pl

index 6b3c67b..41f9514 100755 (executable)
@@ -29,6 +29,8 @@ if ($good{$id})
          send_to_fifo("close Phone ".$good{$id});
         } elsif ($action == 1590) {
          send_to_fifo("open Phone ".$good{$id});
+        } elsif ($action == 1592) {
+         send_to_fifo("reset Phone ".$good{$id});
         } else {
           send_to_fifo("log invalid action $action, but valid Phone $id");
         }