[Asterisk-cvs] asterisk/apps app_controlplayback.c,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 15 15:28:32 CDT 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv11629/apps
Modified Files:
app_controlplayback.c
Log Message:
Fix unexpected behavior in voicemail (bug #1856)
Index: app_controlplayback.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_controlplayback.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- app_controlplayback.c 27 May 2004 05:06:32 -0000 1.5
+++ app_controlplayback.c 15 Jun 2004 20:33:26 -0000 1.6
@@ -107,6 +107,11 @@
res = ast_control_streamfile(chan, file, fwd, rev, stop, pause, skipms);
LOCAL_USER_REMOVE(u);
+
+ /* If we stopped on one of our stop keys, return 0 */
+ if(stop && strchr(stop, res))
+ res = 0;
+
return res;
}
More information about the svn-commits
mailing list