diff options
author | Olle Johansson <oej@edvina.net> | 2008-07-06 08:28:58 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2008-07-06 08:28:58 +0000 |
commit | 6f400edeab489dcdc3074dfe5a1c17cf5722386a (patch) | |
tree | 4e9f2c6aa97bd7eba5873402323bc67e7631204d /main/pbx.c | |
parent | bc99e067e6ddde1d266f9318f020253eaa57039e (diff) |
Changing name of global api call to ast_*
My mistake, pointed out by Russell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c index dfd4f5f0b..d0ae17e9b 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2902,7 +2902,7 @@ static void pbx_substitute_variables(char *passdata, int datalen, struct ast_cha } /*! \brief report AGI state for channel */ -const char *agi_state(struct ast_channel *chan) +const char *ast_agi_state(struct ast_channel *chan) { if (ast_test_flag(chan, AST_FLAG_AGI)) return "AGI"; @@ -2995,7 +2995,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con, "AppData: %s\r\n" "Uniqueid: %s\r\n" "AGIstate: %s\r\n", - c->name, c->context, c->exten, c->priority, app->name, passdata, c->uniqueid, agi_state(c)); + c->name, c->context, c->exten, c->priority, app->name, passdata, c->uniqueid, ast_agi_state(c)); return pbx_exec(c, app, passdata); /* 0 on success, -1 on failure */ } } else if (q.swo) { /* not found here, but in another switch */ |