diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-26 22:01:23 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-26 22:01:23 +0000 |
commit | 74aaeb84094e948f8b85b3d28e09a97c3fe1e46d (patch) | |
tree | a54d2f916fce4451616ca063da25a298b5f1ea65 | |
parent | cc4942b6a3d92695513bddc5e97fe6d1f88d5e18 (diff) |
Picky, picky... show deprecation warning in application help, too (reported via list)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56922 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_lookupblacklist.c | 4 | ||||
-rw-r--r-- | apps/app_lookupcidname.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/app_lookupblacklist.c b/apps/app_lookupblacklist.c index 2eb1e545a..88ed52d86 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 5a0042a29..8b8d5207a 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) |