]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Picky, picky... show deprecation warning in application help, too (reported via list)
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 26 Feb 2007 22:01:23 +0000 (22:01 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 26 Feb 2007 22:01:23 +0000 (22:01 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_lookupblacklist.c
apps/app_lookupcidname.c

index 2eb1e545a355a044e78d86058ffb699a2be093a8..88ed52d861b8954e1e9ebe54ed2c464913dd214d 100644 (file)
@@ -59,7 +59,9 @@ static char *descrip =
   "This application sets the following channel variable upon completion:\n"
   "    LOOKUPBLSTATUS          The status of the Blacklist lookup as a text string, one of\n"
   "            FOUND | NOTFOUND\n"
-  "Example: exten => 1234,1,LookupBlacklist()\n";
+  "Example: exten => 1234,1,LookupBlacklist()\n\n"
+  "This application is deprecated and may be removed from a future release.\n"
+  "Please use the dialplan function BLACKLIST() instead.\n";
 
 
 static int blacklist_read(struct ast_channel *chan, char *cmd, char *data, char *buf, size_t len)
index 5a0042a2992bef7183d8402e58d362f26cd3bee1..8b8d5207a4669dd6cb1e6d51251c5cad3e6e56d9 100644 (file)
@@ -55,7 +55,9 @@ static char *descrip =
   "Caller*ID name.  Does nothing if no Caller*ID was received on the\n"
   "channel.  This is useful if you do not subscribe to Caller*ID\n"
   "name delivery, or if you want to change the names on some incoming\n"
-  "calls.\n";
+  "calls.\n\n"
+  "LookupCIDName is deprecated.  Please use ${DB(cidname/${CALLERID(num)})}\n"
+  "instead.\n";
 
 
 static int lookupcidname_exec (struct ast_channel *chan, void *data)