From 11ee28639de83dac09d4e315a53f2ebc62a148b0 Mon Sep 17 00:00:00 2001
From: Mark Spencer <markster@digium.com>
Date: Sun, 11 May 2003 18:10:42 +0000
Subject: [PATCH] Be sure to play "goodbye" when '#' is pressed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_voicemail2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_voicemail2.c b/apps/app_voicemail2.c
index 9ee29dfcca..3e45375df9 100755
--- a/apps/app_voicemail2.c
+++ b/apps/app_voicemail2.c
@@ -2103,7 +2103,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
 		}
 	}
 out:
-	if ((res > -1) && (cmd != '#')) {
+	if (res > -1) {
 		ast_stopstream(chan);
 		adsi_goodbye(chan);
 		if (useadsi)
-- 
GitLab