aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_lookupblacklist.c
diff options
context:
space:
mode:
authormatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-14 06:00:20 +0000
committermatteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-14 06:00:20 +0000
commit24c1f82b133befef1fd6008db6126baff33cd158 (patch)
tree5721b117bafb5a2e2b4fc6c192f4d9ed392c3dc6 /apps/app_lookupblacklist.c
parent077328e2663d127ae27156081002729fc15f632a (diff)
Fri Mar 14 07:00:01 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@644 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_lookupblacklist.c')
-rwxr-xr-xapps/app_lookupblacklist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_lookupblacklist.c b/apps/app_lookupblacklist.c
index 9cc9e1e64..28fe514e4 100755
--- a/apps/app_lookupblacklist.c
+++ b/apps/app_lookupblacklist.c
@@ -25,11 +25,11 @@
#include <stdlib.h>
#include <pthread.h>
-static char *tdesc = "Look up number from local blacklist database";
+static char *tdesc = "Look up Caller*ID name/number from blacklist database";
static char *app = "LookupBlacklist";
-static char *synopsis = "Look up number from local blacklist database";
+static char *synopsis = "Look up Caller*ID name/number from blacklist database";
static char *descrip =
" LookupBlacklist: Looks up the Caller*ID number on the active\n"
@@ -68,13 +68,13 @@ lookupblacklist_exec (struct ast_channel *chan, void *data)
if (!ast_db_get ("blacklist", shrunknum, blacklist, sizeof (blacklist)))
{
if (option_verbose > 2)
- ast_verbose (VERBOSE_PREFIX_3 "Blacklisted number %s found\n",shrunknum);
+ ast_log(LOG_NOTICE, "Blacklisted number %s found\n",shrunknum);
bl = 1;
}
else if (!ast_db_get ("blacklist", name, blacklist, sizeof (blacklist)))
{
if (option_verbose > 2)
- ast_verbose (VERBOSE_PREFIX_3 "Blacklisted name \"%s\" found\n",name);
+ ast_log (LOG_NOTICE,"Blacklisted name \"%s\" found\n",name);
bl = 1;
}
}