Picky, picky... show deprecation warning in application help, too (reported via list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-02-26 22:01:23 +00:00
parent 83ce3720bc
commit 91355b5e5f
2 changed files with 6 additions and 2 deletions

View 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)

View 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)