From: Tilghman Lesher Date: Mon, 26 Feb 2007 22:01:23 +0000 (+0000) Subject: Picky, picky... show deprecation warning in application help, too (reported via list) X-Git-Tag: 1.4.1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91355b5e5faaaa4e88ce5b7a55332cee0b4fe828;p=thirdparty%2Fasterisk.git 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 --- diff --git a/apps/app_lookupblacklist.c b/apps/app_lookupblacklist.c index 2eb1e545a3..88ed52d861 100644 --- a/apps/app_lookupblacklist.c +++ b/apps/app_lookupblacklist.c @@ -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) diff --git a/apps/app_lookupcidname.c b/apps/app_lookupcidname.c index 5a0042a299..8b8d5207a4 100644 --- a/apps/app_lookupcidname.c +++ b/apps/app_lookupcidname.c @@ -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)