diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index d4f647264dac466fc21ead67f158a089ac35a062..f06ff02d2dd29ed6017e4c0db799d06ef350d5c0 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5394,7 +5394,11 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st res = ast_play_and_wait(chan, "vm-messages"); if (!res) res = ast_play_and_wait(chan, "vm-saved"); */ - res = ast_play_and_wait(chan, "vm-msgsaved"); + + /* If forwarded with intro, DON'T PLAY THIS MESSAGE AGAIN! */ + if (ast_strlen_zero(tmptxtfile)) { /* not a forwarded message with intro */ + res = ast_play_and_wait(chan, "vm-msgsaved"); + } } } }