git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5328
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
-- chan_sip
-- We no longer send a "to" tag on "100 Trying" messages, as it is inappropriate
to do so.
+ -- res_agi
+ -- A fix has been added to prevent calls from being hung up when more than one
+ call is executing an AGI script calling the GET DATA command.
-- asterisk.spec
-- A line was missing for the autosupport script that caused "make rpm" to fail
-- general
while(ms) {
rchan = ast_waitfor_nandfds(&c, 1, &cmdfd, (cmdfd > -1) ? 1 : 0, NULL, &outfd, &ms);
if ((!rchan) && (outfd < 0) && (ms)) {
+ if (errno == EINTR)
+ continue;
ast_log(LOG_WARNING, "Wait failed (%s)\n", strerror(errno));
return -1;
} else if (outfd > -1) {
ms = 1000;
rchan = ast_waitfor_nandfds(&c, 1, &cmdfd, (cmdfd > -1) ? 1 : 0, NULL, &outfd, &ms);
if (!rchan && (outfd < 0) && (ms)) {
+ /* Continue */
+ if (errno == EINTR)
+ continue;
ast_log(LOG_WARNING, "Wait failed (%s)\n", strerror(errno));
return -1;
} else if (outfd > -1) {