[Asterisk-cvs] asterisk/apps app_record.c,1.13,1.14

markster at lists.digium.com markster at lists.digium.com
Sun Mar 21 23:08:07 CST 2004


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

Modified Files:
	app_record.c 
Log Message:
Store recorded file in RECORDED_FILE if %d is used... (bug #1062)


Index: app_record.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_record.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- app_record.c	25 Feb 2004 22:31:50 -0000	1.13
+++ app_record.c	22 Mar 2004 04:04:07 -0000	1.14
@@ -114,6 +114,7 @@
 			snprintf(tmp, 256, fil, count);
 			count++;
 		} while ( ast_fileexists(tmp, ext, chan->language) != -1 );
+		pbx_builtin_setvar_helper(chan, "RECORDED_FILE", tmp);
 	} else
 		strncpy(tmp, fil, 256-1);
 	/* end of routine mentioned */




More information about the svn-commits mailing list