mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 15:08:53 +00:00
send script parameter with FastAGI (bug #3270)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -185,6 +185,9 @@ static int launch_netscript(char *agiurl, char *argv[], int *fds, int *efd, int
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
ast_log(LOG_DEBUG, "Wow, connected!\n");
|
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[0] = s;
|
||||||
fds[1] = s;
|
fds[1] = s;
|
||||||
*opid = -1;
|
*opid = -1;
|
||||||
|
Reference in New Issue
Block a user