From 8812409528ce21d725e50edd5015af374b2f2100 Mon Sep 17 00:00:00 2001 From: James Golovich Date: Thu, 11 Mar 2004 07:00:46 +0000 Subject: [PATCH] Make voicemail not say goodbye twice on hangup (bug 1201) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2397 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 9272ce6e58..ad3983c7b2 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2581,9 +2581,7 @@ static int vm_instructions(struct ast_channel *chan, struct vm_state *vms) if (!res) { vms->repeats++; if (vms->repeats > 2) { - res = play_and_wait(chan, "vm-goodbye"); - if (!res) - res = 't'; + res = 't'; } } }