[Asterisk-cvs] asterisk/apps app_voicemail.c,1.234,1.235
markster at lists.digium.com
markster at lists.digium.com
Mon Aug 1 06:57:09 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv8241/apps
Modified Files:
app_voicemail.c
Log Message:
Minor voicemail fixup (related to 4800, but not the fix yet)
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -d -r1.234 -r1.235
--- app_voicemail.c 28 Jul 2005 18:14:13 -0000 1.234
+++ app_voicemail.c 1 Aug 2005 11:03:09 -0000 1.235
@@ -5051,9 +5051,12 @@
snprintf(vms.fn, sizeof(vms.fn), "vm-%s", mbox(box));
if (!cmd) {
cmd = ast_play_and_wait(chan, "vm-message");
- cmd = say_and_wait(chan, vms.curmsg + 1, chan->language);
- cmd = ast_play_and_wait(chan, "vm-savedto");
- cmd = vm_play_folder_name(chan, vms.fn);
+ if (!cmd)
+ cmd = say_and_wait(chan, vms.curmsg + 1, chan->language);
+ if (!cmd)
+ cmd = ast_play_and_wait(chan, "vm-savedto");
+ if (!cmd)
+ cmd = vm_play_folder_name(chan, vms.fn);
} else {
cmd = ast_play_and_wait(chan, "vm-mailboxfull");
}
More information about the svn-commits
mailing list