Make voicemail not say goodbye twice on hangup (bug 1201)
authorJames Golovich <james@gnuinter.net>
Thu, 11 Mar 2004 07:00:46 +0000 (07:00 +0000)
committerJames Golovich <james@gnuinter.net>
Thu, 11 Mar 2004 07:00:46 +0000 (07:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2397 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 9272ce6..ad3983c 100755 (executable)
@@ -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';
                        }
                }
        }