[Asterisk-cvs] asterisk/apps app_voicemail.c,1.151.2.4,1.151.2.5

russell at lists.digium.com russell at lists.digium.com
Tue Oct 26 11:18:56 CDT 2004


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

Modified Files:
      Tag: v1-0
	app_voicemail.c 
Log Message:
fix short message issue (bug #2723)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.151.2.4
retrieving revision 1.151.2.5
diff -u -d -r1.151.2.4 -r1.151.2.5
--- app_voicemail.c	25 Oct 2004 00:51:27 -0000	1.151.2.4
+++ app_voicemail.c	26 Oct 2004 15:22:09 -0000	1.151.2.5
@@ -4657,7 +4657,7 @@
 			cmd = ast_play_and_record(chan, playfile, recordfile, maxtime, fmt, duration, silencethreshold, maxsilence);
  			if (cmd == -1)
  			/* User has hung up, no options to give */
- 				return res;
+ 				return cmd;
  			if (cmd == '0') {
  				break;
  			} else if (cmd == '*') {
@@ -4752,7 +4752,7 @@
  		}
  	}
  	if (outsidecaller)  
- 		ast_play_and_wait(chan, "vm-goodbye");
+		ast_play_and_wait(chan, "vm-goodbye");
  	if (cmd == 't')
  		cmd = 0;
  	return cmd;




More information about the svn-commits mailing list