[Asterisk-cvs] asterisk/apps app_voicemail.c,1.164,1.165

markster at lists.digium.com markster at lists.digium.com
Mon Oct 25 22:18:13 CDT 2004


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

Modified Files:
	app_voicemail.c 
Log Message:
Fix short message isssue (bug #2723)


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -d -r1.164 -r1.165
--- app_voicemail.c	24 Oct 2004 13:15:12 -0000	1.164
+++ app_voicemail.c	26 Oct 2004 02:21:43 -0000	1.165
@@ -4609,7 +4609,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 == '*') {
@@ -4704,7 +4704,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