[Asterisk-cvs] asterisk/res res_agi.c,1.10.2.1,1.10.2.2

russell at lists.digium.com russell at lists.digium.com
Sat Jan 8 16:36:29 CST 2005


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

Modified Files:
      Tag: v1-0
	res_agi.c 
Log Message:
send script parameter with FastAGI (bug #3270)


Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.10.2.1
retrieving revision 1.10.2.2
diff -u -d -r1.10.2.1 -r1.10.2.2
--- res_agi.c	3 Jan 2005 18:19:05 -0000	1.10.2.1
+++ res_agi.c	8 Jan 2005 22:40:56 -0000	1.10.2.2
@@ -185,6 +185,9 @@
 		return -1;
 	}
 	ast_log(LOG_DEBUG, "Wow, connected!\n");
+	/* Send the script parameter */
+	if (!ast_strlen_zero(script))
+		fdprintf(s, "agi_network_script: %s\n", script);
 	fds[0] = s;
 	fds[1] = s;
 	*opid = -1;




More information about the svn-commits mailing list