aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-16 18:50:11 +0000
committerpabelanger <pabelanger@f38db490-d61c-443f-a65b-d21fe96a405b>2010-06-16 18:50:11 +0000
commit998fc2f07e3930c2bd5cf706714707be78bb8d66 (patch)
tree3733ad0ec0094ebb3dddb4422333804ddaecdf6c /res
parentf6b54c606b49eb12b383d604ac35af42ad8ca3c4 (diff)
Merged revisions 270936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ........ r270936 | pabelanger | 2010-06-16 14:43:22 -0400 (Wed, 16 Jun 2010) | 8 lines MSG_OOB flag on HANGUP packet removed. Per Tilghman's request on IRC (#asterisk-bugs). (closes issue #17506) Reported by: brycebaril Tested by: pabelanger, tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@270937 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_agi.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 93fa1f6cc..1f9cb80b3 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -340,8 +340,9 @@ static char *descrip =
"or, in the case of a net script, by closing the connection).\n"
" A locally executed AGI script will receive SIGHUP on hangup from the channel\n"
"except when using DeadAGI. A fast AGI server will correspondingly receive a\n"
-"HANGUP in OOB data. Both of these signals may be disabled by setting the\n"
-"AGISIGHUP channel variable to \"no\" before executing the AGI application.\n"
+"HANGUP inline with the command dialog. Both of these signals may be disabled\n"
+"by setting the AGISIGHUP channel variable to \"no\" before executing the AGI\n"
+"application.\n"
" Using 'EAGI' provides enhanced AGI, with incoming audio available out of band\n"
"on file descriptor 3.\n\n"
" Use the CLI command 'agi show commands' to list available agi commands.\n"
@@ -2888,7 +2889,7 @@ static enum agi_result run_agi(struct ast_channel *chan, char *request, AGI *agi
if (pid > -1) {
kill(pid, SIGHUP);
} else if (agi->fast) {
- send(agi->ctrl, "HANGUP\n", 7, MSG_OOB);
+ send(agi->ctrl, "HANGUP\n", 7, 0);
}
}
}
@@ -2986,7 +2987,7 @@ static enum agi_result run_agi(struct ast_channel *chan, char *request, AGI *agi
}
waitpid(pid, status, WNOHANG);
} else if (agi->fast) {
- send(agi->ctrl, "HANGUP\n", 7, MSG_OOB);
+ send(agi->ctrl, "HANGUP\n", 7, 0);
}
}
fclose(readf);