[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
Tue Dec 22 06:03:14 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16434 
====================================================================== 
Reported By:                rickead2000
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   16434
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
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:              
====================================================================== 
Date Submitted:             2009-12-12 12:41 CST
Last Modified:              2009-12-22 06:03 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
====================================================================== 

---------------------------------------------------------------------- 
 (0115639) rickead2000 (reporter) - 2009-12-22 06:03
 https://issues.asterisk.org/view.php?id=16434#c115639 
---------------------------------------------------------------------- 
I'm having a few issues getting the patch to apply to the latest SVN.

patching file include/asterisk/channel.h
Hunk https://issues.asterisk.org/view.php?id=1 FAILED at 517.
1 out of 1 hunk FAILED -- saving rejects to file
include/asterisk/channel.h.rej
patching file main/pbx.c
Hunk https://issues.asterisk.org/view.php?id=1 succeeded at 9193 (offset 3417
lines).
patching file res/res_agi.c
Hunk https://issues.asterisk.org/view.php?id=1 FAILED at 1125.
Hunk https://issues.asterisk.org/view.php?id=2 FAILED at 1140.
2 out of 2 hunks FAILED -- saving rejects to file res/res_agi.c.rej

A subsequent make then fails. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-22 06:03 rickead2000    Note Added: 0115639                          
======================================================================




More information about the asterisk-bugs mailing list