From 15c98ff2e1615e25be7b9798ef5d9b6d35a02488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 30 Dec 2014 17:59:40 +0100 Subject: [PATCH] Update cidlookup.php --- htdocs/asterisk/cidlookup.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/asterisk/cidlookup.php b/htdocs/asterisk/cidlookup.php index d1dcb501f41..9ef0e85f326 100644 --- a/htdocs/asterisk/cidlookup.php +++ b/htdocs/asterisk/cidlookup.php @@ -33,6 +33,12 @@ $phone = $_GET['phone']; include '../master.inc.php'; +// Security check +if (empty($conf->clicktodial->enabled)) { + print "Error: Module Click to dial not active\n"; + exit; +} + // Check parameters if (empty($phone)) {