Changing name of global api call to ast_*
[asterisk/asterisk.git] / pbx / pbx_realtime.c
index 2b7a0dd..7f99ff7 100644 (file)
@@ -228,7 +228,7 @@ static int realtime_exec(struct ast_channel *chan, const char *context, const ch
                                                          "AppData: %s\r\n"
                                                          "Uniqueid: %s\r\n"
                                                          "AGIstate: %s\r\n",
-                                                         chan->name, chan->context, chan->exten, chan->priority, app, !ast_strlen_zero(appdata) ? appdata : "(NULL)", chan->uniqueid, agi_state(chan));
+                                                         chan->name, chan->context, chan->exten, chan->priority, app, !ast_strlen_zero(appdata) ? appdata : "(NULL)", chan->uniqueid, ast_agi_state(chan));
                                
                                res = pbx_exec(chan, a, appdata);
                        } else