summaryrefslogtreecommitdiff
path: root/apps/app_realtime.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2006-05-02 22:46:12 +0000
committerBJ Weschke <bweschke@btwtech.com>2006-05-02 22:46:12 +0000
commita9281a11424be2bddbbebb0def82bf4d63828fab (patch)
treefd35d069f290ae0ac4441c644be5a4f93d1cafa3 /apps/app_realtime.c
parent34dcc89e244f0903e629780eb9c49ed392afc6e0 (diff)
Introducing the REALTIME() dialplan function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_realtime.c')
-rw-r--r--apps/app_realtime.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_realtime.c b/apps/app_realtime.c
index dacc6c328..49aa31cc3 100644
--- a/apps/app_realtime.c
+++ b/apps/app_realtime.c
@@ -140,6 +140,8 @@ static int realtime_update_exec(struct ast_channel *chan, void *data)
int res = 0, count = 0;
char countc[13];
+ ast_log(LOG_WARNING, "The RealTimeUpdate application has been deprecated in favor of the REALTIME dialplan function.\n");
+
if (ast_strlen_zero(data)) {
ast_log(LOG_ERROR,"Invalid input: usage %s\n",UUSAGE);
return -1;
@@ -185,6 +187,8 @@ static int realtime_exec(struct ast_channel *chan, void *data)
char countc[13];
size_t len;
+ ast_log(LOG_WARNING, "The RealTime application has been deprecated in favor of the REALTIME dialplan function.\n");
+
if (ast_strlen_zero(data)) {
ast_log(LOG_ERROR,"Invalid input: usage %s\n",USAGE);
return -1;