diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-14 14:26:27 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-09-14 14:26:27 +0000 |
commit | b42abc9ce057c889b186bc2f023701bfd22f0cfc (patch) | |
tree | f125127e67462aa77e19af8119ab163b79a64b01 /apps | |
parent | f2e6ac45cac98d60966dd4c9809d8cd9b95f4ae3 (diff) |
deprecate EnumLookup() application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_enumlookup.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/app_enumlookup.c b/apps/app_enumlookup.c index 6a9142005..8f3acabe5 100755 --- a/apps/app_enumlookup.c +++ b/apps/app_enumlookup.c @@ -71,8 +71,14 @@ static int enumlookup_exec(struct ast_channel *chan, void *data) char dest[80]; char tmp[256]; char *c,*t; + static int dep_warning=0; - tech[0] = '\0'; + if (!dep_warning) { + ast_log(LOG_WARNING, "The application EnumLookup is deprecated. Please use the ENUMLOOKUP() function instead.\n"); + dep_warning=1; + } + + tech[0] = '\0'; struct localuser *u; |