diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-02 22:46:12 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-02 22:46:12 +0000 |
commit | e93a85edf0e59da53efe38d6b43227bb6d2b7b49 (patch) | |
tree | fd35d069f290ae0ac4441c644be5a4f93d1cafa3 /apps/app_realtime.c | |
parent | cf5362948b7cc6827eb918f1b0f721b8a303cdf2 (diff) |
Introducing the REALTIME() dialplan function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24376 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_realtime.c')
-rw-r--r-- | apps/app_realtime.c | 4 |
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; |