[svn-commits] rmudgett: trunk r345433 - in /trunk: ./ res/res_agi.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Nov 15 14:11:10 CST 2011
Author: rmudgett
Date: Tue Nov 15 14:11:06 2011
New Revision: 345433
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=345433
Log:
Make FastAGI HANGUP show up in AGI debug output.
* Change from using send() to ast_agi_send() so the HANGUP shows up in the
AGI debug output.
(closes issue ASTERISK-18723)
Reported by: James Van Vleet
Patches:
jira_asterisk_18723_v1.8.patch (license #5621) patch uploaded by rmudgett
........
Merged revisions 345431 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 345432 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/res/res_agi.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/res/res_agi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_agi.c?view=diff&rev=345433&r1=345432&r2=345433
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Tue Nov 15 14:11:06 2011
@@ -3501,7 +3501,7 @@
if (pid > -1) {
kill(pid, SIGHUP);
} else if (agi->fast) {
- send(agi->ctrl, "HANGUP\n", 7, 0);
+ ast_agi_send(agi->fd, chan, "HANGUP\n");
}
}
}
@@ -3616,7 +3616,7 @@
}
waitpid(pid, status, WNOHANG);
} else if (agi->fast) {
- send(agi->ctrl, "HANGUP\n", 7, 0);
+ ast_agi_send(agi->fd, chan, "HANGUP\n");
}
}
fclose(readf);
More information about the svn-commits
mailing list