Changing name of global api call to ast_*
[asterisk/asterisk.git] / main / manager.c
index fa92408..679a889 100644 (file)
@@ -2723,7 +2723,7 @@ static int action_coreshowchannels(struct mansession *s, const struct message *m
                        c->name, c->uniqueid, c->context, c->exten, c->priority, c->_state, ast_state2str(c->_state),
                        c->appl ? c->appl : "", c->data ? S_OR(c->data, ""): "",
                        S_OR(c->cid.cid_num, ""), durbuf, S_OR(c->accountcode, ""), bc ? bc->name : "", bc ? bc->uniqueid : "",
-                       agi_state(c)
+                       ast_agi_state(c)
                        );
                ast_channel_unlock(c);
                numchans++;