[asterisk-bugs] [Asterisk 0017019]: [patch] Background application not use 'context' parameter

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 25 17:15:58 CDT 2010


The following issue has been RESOLVED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17019 
====================================================================== 
Reported By:                IgorG
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   17019
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.30-rc3 
JIRA:                       SWP-1084 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-03-13 04:24 CST
Last Modified:              2010-05-25 17:15 CDT
====================================================================== 
Summary:                    [patch] Background application not use 'context'
parameter
Description: 
Writing application I have discovered, that Background application exit to
original extension even if `context` parameter used. It exit in context
specified only in case if it have one-digit exension. That patch always set
context from application argument.
====================================================================== 

---------------------------------------------------------------------- 
 (0122453) mmichelson (administrator) - 2010-05-25 17:15
 https://issues.asterisk.org/view.php?id=17019#c122453 
---------------------------------------------------------------------- 
The current code is functioning as intended. If you look at the
documentation, you'll see the following:

"If a 'context' is specified, this is the dialplan context that this
application will use when exiting to a dialed extension."

The key words there are "dialed extension." Your patch is changing the
behavior of BackGround to exit to the specified context unconditionally.
The intended purpose of the parameter is to exit to that context only if we
detect DTMF while the file is playing and an extension exists in the given
context that matches the DTMF we received.

I am closing this since this is not a bug. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-25 17:15 mmichelson     Note Added: 0122453                          
2010-05-25 17:15 mmichelson     Status                   ready for testing =>
resolved
2010-05-25 17:15 mmichelson     Resolution               open => no change
required
2010-05-25 17:15 mmichelson     Assigned To               => mmichelson      
======================================================================




More information about the asterisk-bugs mailing list