[Asterisk-cvs] asterisk/apps app_voicemail.c,1.89,1.90

markster at lists.digium.com markster at lists.digium.com
Tue May 11 11:10:43 CDT 2004


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

Modified Files:
	app_voicemail.c 
Log Message:
Don't say "re-recording" on CLI.


Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- app_voicemail.c	11 May 2004 15:03:52 -0000	1.89
+++ app_voicemail.c	11 May 2004 15:20:55 -0000	1.90
@@ -4196,8 +4196,11 @@
  		case '3':
  			message_exists = 0;
  			/* Record */
- 			ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n");
- 			if (recorded && outsidecaller) {
+ 			if (recorded == 1)
+				ast_verbose(VERBOSE_PREFIX_3 "Re-recording the message\n");
+ 			else	
+				ast_verbose(VERBOSE_PREFIX_3 "Recording the message\n");
+			if (recorded && outsidecaller) {
  				cmd = play_and_wait(chan, INTRO);
  				cmd = play_and_wait(chan, "beep");
  			}




More information about the svn-commits mailing list