diff options
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 58b68cda3..6b7ddd5c6 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1974,6 +1974,10 @@ static int play_file(struct ast_channel *chan, const char *filename) { int res; + if (ast_strlen_zero(filename)) { + return 0; + } + ast_stopstream(chan); res = ast_streamfile(chan, filename, chan->language); |