diff options
Diffstat (limited to 'apps/app_directory.c')
-rwxr-xr-x | apps/app_directory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index 21747b487..8e8f62455 100755 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -243,6 +243,8 @@ static int directory_exec(struct ast_channel *chan, void *data) } LOCAL_USER_ADD(u); top: + if (chan->_state != AST_STATE_UP) + res = ast_answer(chan); if (!res) res = ast_streamfile(chan, "dir-intro", chan->language); if (!res) |