[Asterisk-cvs] asterisk/apps app_voicemail.c,1.104,1.105
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 1 14:34:11 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv15978/apps
Modified Files:
app_voicemail.c
Log Message:
allow multiple exit characters on control_streamfile, allow '1' to skip envelope
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- app_voicemail.c 30 May 2004 03:03:19 -0000 1.104
+++ app_voicemail.c 1 Jun 2004 18:50:18 -0000 1.105
@@ -2737,10 +2737,11 @@
if ((!res)&&(vmu->envelope))
res = play_message_datetime(chan, vmu, origtime, filename);
-
if ((!res)&&(vmu->saycid))
res = play_message_callerid(chan, vms, cid, context, 0);
-
+ /* Allow pressing '1' to skip envelope / callerid */
+ if (res == '1')
+ res = 0;
ast_destroy(msg_cfg);
if (!res) {
More information about the svn-commits
mailing list