diff options
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r-- | apps/app_followme.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c index 62a3cb248..0bd6e2e5f 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -1073,6 +1073,11 @@ static int app_exec(struct ast_channel *chan, void *data) } ast_mutex_unlock(&f->lock); + /* Answer the call */ + if (chan->_state != AST_STATE_UP) { + ast_answer(chan); + } + if (ast_test_flag(&targs.followmeflags, FOLLOWMEFLAG_STATUSMSG)) ast_stream_and_wait(chan, targs.statusprompt, ""); |