[Asterisk-cvs] asterisk app.c,1.20,1.21
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 1 15:22:02 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16188
Modified Files:
app.c
Log Message:
Voicemail fixes (bug #1758)
Index: app.c
===================================================================
RCS file: /usr/cvsroot/asterisk/app.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- app.c 1 Jun 2004 18:50:18 -0000 1.20
+++ app.c 1 Jun 2004 19:38:06 -0000 1.21
@@ -459,7 +459,9 @@
if (chan)
ast_stopstream(chan);
res = ast_waitfordigit(chan, 1000);
- if (res == -1 || strchr(pause, res) || (stop && strchr(stop, res)))
+ if(res == 0)
+ continue;
+ else if(res == -1 || strchr(pause, res) || (stop && strchr(stop, res)))
break;
}
if (res == *pause) {
@@ -470,7 +472,7 @@
if (res == -1)
break;
- if (stop != NULL && res == *stop) {
+ if (stop && strchr(stop, res)) {
res = 0;
break;
}
More information about the svn-commits
mailing list