Merged revisions 27847 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Wed, 17 May 2006 17:10:44 +0000 (17:10 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 17 May 2006 17:10:44 +0000 (17:10 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27847 | file | 2006-05-17 14:07:52 -0300 (Wed, 17 May 2006) | 2 lines

Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27848 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 4e243a3..5fb642f 100644 (file)
@@ -5838,7 +5838,7 @@ static int vm_exec(struct ast_channel *chan, void *data)
                                LOCAL_USER_REMOVE(u);
                                return -1;
                        }
-                       ast_copy_flags(&leave_options, &flags, OPT_SILENT | OPT_BUSY_GREETING | OPT_UNAVAIL_GREETING);
+                       ast_copy_flags(&leave_options, &flags, OPT_SILENT | OPT_BUSY_GREETING | OPT_UNAVAIL_GREETING | OPT_PRIORITY_JUMP);
                        if (ast_test_flag(&flags, OPT_RECORDGAIN)) {
                                int gain;