X-Git-Url: https://git.cweiske.de/auerswald-callnotifier.git/blobdiff_plain/ff87c8d9c123b42917097456828df83b580894ab..e839909cbd2ac51620fa1607d92b8b6d5a54f837:/callnotifier.php diff --git a/callnotifier.php b/callnotifier.php old mode 100644 new mode 100755 index a481b1f..9093691 --- a/callnotifier.php +++ b/callnotifier.php @@ -1,84 +1,23 @@ #!/usr/bin/env php CDPN[41], - var_dump($details); - $regex = '#CGPN\\[([^\\]]+)\\]->CDPN\\[([^\\]]+)\\]#'; - if (preg_match($regex, $details, $matches)) { - var_dump('a call!', $matches); - } -} +$cli = new CLI(); +$cli->run(); ?> \ No newline at end of file