[Asterisk-cvs] asterisk/apps app_voicemail.c,1.92,1.93

markster at lists.digium.com markster at lists.digium.com
Thu May 20 20:42:46 CDT 2004


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

Modified Files:
	app_voicemail.c 
Log Message:
Stop stream when interrupted by '#' or '*' or '0' (bug #1689)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- app_voicemail.c	20 May 2004 07:58:15 -0000	1.92
+++ app_voicemail.c	21 May 2004 00:55:36 -0000	1.93
@@ -1577,6 +1577,8 @@
 				res = 0;
 			}
 		}
+		if (res > 0)
+			ast_stopstream(chan);
 		/* Check for a '*' here in case the caller wants to escape from voicemail to something
 		other than the operator -- an automated attendant or mailbox login for example */
 		if (res == '*') {




More information about the svn-commits mailing list