summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorJames Golovich <james@gnuinter.net>2004-03-11 07:00:46 +0000
committerJames Golovich <james@gnuinter.net>2004-03-11 07:00:46 +0000
commit8812409528ce21d725e50edd5015af374b2f2100 (patch)
tree2bc2f2bb60440e13bff3da31c58fedeae049d970 /apps/app_voicemail.c
parent6406e07a795c151518937adf54e4b6721bba82dd (diff)
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
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-xapps/app_voicemail.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 9272ce6e5..ad3983c7b 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';
}
}
}