[Asterisk-cvs] asterisk ChangeLog,1.76,1.77 pbx.c,1.299,1.300

kpfleming kpfleming
Tue Nov 8 21:00:47 CST 2005


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

Modified Files:
	ChangeLog pbx.c 
Log Message:
issue #5664


Index: ChangeLog
===================================================================
RCS file: /usr/cvsroot/asterisk/ChangeLog,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- ChangeLog	9 Nov 2005 00:48:38 -0000	1.76
+++ ChangeLog	9 Nov 2005 01:51:46 -0000	1.77
@@ -1,5 +1,7 @@
 2005-11-08  Kevin P. Fleming  <kpfleming at digium.com>
 
+	* pbx.c (pbx_substitute_variables_helper_full): use already-substituted buffer for parsing variable name (issue #5664)
+
 	* channels/chan_zap.c (zt_request): return AST_CAUSE_CONGESTION when a group-channel is requested and the group exists but all channels are busy (issue #3360, related fix)
 	* channels/chan_iax2.c (create_addr): treat UNREACHABLE as AST_CAUSE_UNREGISTERED so that it will generate CHANUNAVAIL from app_dial (issue #3360)
 

Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.299
retrieving revision 1.300
diff -u -d -r1.299 -r1.300
--- pbx.c	8 Nov 2005 23:37:53 -0000	1.299
+++ pbx.c	9 Nov 2005 01:51:46 -0000	1.300
@@ -1520,7 +1520,7 @@
 
 			workspace[0] = '\0';
 
-			parse_variable_name(var, &offset, &offset2, &isfunction);
+			parse_variable_name(vars, &offset, &offset2, &isfunction);
 			if (isfunction) {
 				/* Evaluate function */
 				cp4 = ast_func_read(c, vars, workspace, VAR_BUF_SIZE);




More information about the svn-commits mailing list