diff options
Diffstat (limited to 'apps/app_record.c')
-rwxr-xr-x | apps/app_record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c index 4ad4a15fd..1e54276b8 100755 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -95,7 +95,7 @@ static int record_exec(struct ast_channel *chan, void *data) LOCAL_USER_ADD(u); - if (chan->state != AST_STATE_UP) { + if (chan->_state != AST_STATE_UP) { res = ast_answer(chan); /* Shouldn't need this, but checking to see if channel is already answered * Theoretically asterisk should already have answered before running the app */ } |