aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_zapateller.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_zapateller.c')
-rwxr-xr-xapps/app_zapateller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_zapateller.c b/apps/app_zapateller.c
index 658fde540..c9e5fdc34 100755
--- a/apps/app_zapateller.c
+++ b/apps/app_zapateller.c
@@ -45,7 +45,7 @@ static int zapateller_exec(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
ast_stopstream(chan);
- if (chan->state != AST_STATE_UP) {
+ if (chan->_state != AST_STATE_UP) {
if (data && !strcasecmp(data, "answer"))
res = ast_answer(chan);
if (!res) {