[Asterisk-cvs] asterisk/apps app_voicemail.c,1.157,1.158

russell at lists.digium.com russell at lists.digium.com
Sat Oct 9 00:27:37 CDT 2004


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

Modified Files:
	app_voicemail.c 
Log Message:
fix voicemail account setup (bug #2077)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -d -r1.157 -r1.158
--- app_voicemail.c	8 Oct 2004 05:36:23 -0000	1.157
+++ app_voicemail.c	9 Oct 2004 04:28:44 -0000	1.158
@@ -2949,6 +2949,7 @@
 		return cmd;
 	newpassword2[1] = '\0';
 	newpassword2[0] = cmd = ast_play_and_wait(chan,"vm-reenterpassword");
+	if (cmd < 0 || cmd == 't' || cmd == '#')
 		return cmd;
 	cmd = ast_readstring(chan,newpassword2 + strlen(newpassword2),sizeof(newpassword2)-1,2000,10000,"#");
 	if (cmd < 0 || cmd == 't' || cmd == '#')




More information about the svn-commits mailing list