mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user