diff options
Diffstat (limited to 'apps/app_festival.c')
-rw-r--r-- | apps/app_festival.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_festival.c b/apps/app_festival.c index d609b3fe4..cd1cfa051 100644 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -185,7 +185,7 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in } /* Answer if it's not already going */ - if (chan->_state != AST_STATE_UP) + if (ast_channel_state(chan) != AST_STATE_UP) ast_answer(chan); ast_stopstream(chan); ast_indicate(chan, -1); |