[asterisk-bugs] [Asterisk 0016434]: [patch] Background() when called from AGI script no longer gives digit code when interrupted
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Jan 4 12:28:32 CST 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16434
======================================================================
Reported By: rickead2000
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 16434
Category: Core/General
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Asterisk Version: 1.6.1.11
JIRA: SWP-536
Regression: Yes
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-12-12 12:41 CST
Last Modified: 2010-01-04 12:28 CST
======================================================================
Summary: [patch] Background() when called from AGI script no
longer gives digit code when interrupted
Description:
When calling the Background application from within an AGI script, asterisk
no longer returns the character value of a digit pressed while the audio
file is still being played.
This means if a user does not wait for the audio file to finish before
pressing a digit, it's impossible to find out what was pressed.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0014940 Background application executed in post...
related to 0014011 [patch] Incorrect jump to extension
======================================================================
----------------------------------------------------------------------
(0115959) svnbot (reporter) - 2010-01-04 12:28
https://issues.asterisk.org/view.php?id=16434#c115959
----------------------------------------------------------------------
Repository: asterisk
Revision: 237406
_U trunk/
U trunk/include/asterisk/channel.h
U trunk/main/pbx.c
U trunk/res/res_agi.c
------------------------------------------------------------------------
r237406 | tilghman | 2010-01-04 12:28:29 -0600 (Mon, 04 Jan 2010) | 23
lines
Merged revisions 237405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r237405 | tilghman | 2010-01-04 12:19:00 -0600 (Mon, 04 Jan 2010) | 16
lines
Add a flag to disable the Background behavior, for AGI users.
This is in a section of code that relates to two other issues, namely
issue https://issues.asterisk.org/view.php?id=14011 and issue
https://issues.asterisk.org/view.php?id=14940), one of which was the behavior of
Background when called with a context argument that matched the current
context. This fix broke FreePBX, however, in a post-Dial situation.
Needless to say, this is an extremely difficult collision of several
different issues. While the use of an exception flag is ugly, fixing
all
of the issues linked is rather difficult (although if someone would like
to propose a better solution, we're happy to entertain that suggestion).
(closes issue https://issues.asterisk.org/view.php?id=16434)
Reported by: rickead2000
Patches:
20091217__issue16434.diff.txt uploaded by tilghman (license 14)
20091222__issue16434__1.6.1.diff.txt uploaded by tilghman
(license 14)
Tested by: rickead2000
........
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=237406
Issue History
Date Modified Username Field Change
======================================================================
2010-01-04 12:28 svnbot Checkin
2010-01-04 12:28 svnbot Note Added: 0115959
======================================================================
More information about the asterisk-bugs
mailing list