Introducing the REALTIME() dialplan function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
BJ Weschke
2006-05-02 22:46:12 +00:00
parent 34dcc89e24
commit a9281a1142
3 changed files with 195 additions and 0 deletions

View File

@@ -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;