diff options
Diffstat (limited to 'apps/app_directory.c')
-rw-r--r-- | apps/app_directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index 1935a0ca8..63dd3c6c6 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -179,7 +179,7 @@ static int play_mailbox_owner(struct ast_channel *chan, char *context, char *dia } ast_stopstream(chan); } else { - res = ast_say_character_str(chan, !ast_strlen_zero(name) ? name : ext, + res = ast_say_character_str(chan, S_OR(name, ext), AST_DIGIT_ANY, chan->language); } |