[Asterisk-cvs] asterisk/apps app_voicemail.c,1.16,1.17

markster at lists.digium.com markster at lists.digium.com
Wed Nov 12 23:16:54 CST 2003


Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv11919/apps

Modified Files:
	app_voicemail.c 
Log Message:
More generally stop streaming when interrupted


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- app_voicemail.c	13 Nov 2003 05:37:32 -0000	1.16
+++ app_voicemail.c	13 Nov 2003 05:43:07 -0000	1.17
@@ -864,6 +864,7 @@
 	if (d)
 		return d;
 	d = ast_waitstream(chan, AST_DIGIT_ANY);
+	ast_stopstream(chan);
 	return d;
 }
 
@@ -894,7 +895,6 @@
 			d = ast_waitstream(chan,"");
 		if (d < 0)
 			return -1;
-		ast_stopstream(chan);
 	}
 	
 	fmts = ast_strdupa(fmt);




More information about the svn-commits mailing list