[asterisk-bugs] [Asterisk 0014011]: Incorrect jump to extension

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 10 16:16:34 CST 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14011 
====================================================================== 
Reported By:                dveiga
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14011
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.6.1-beta3 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 160441 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-12-02 20:46 CST
Last Modified:              2008-12-10 16:16 CST
====================================================================== 
Summary:                    Incorrect jump to extension
Description: 
When calling Background() application, function pbx_builtin_background() is
called. Inside it, I believe there's a bug when comparing the channel
context with the one used as a parameter. Where it says "if (args.context
!= chan->context && res)" it should say "if ( strcmp(args.context,
chan->context) && res)".
I just explained it because in this simple case I think its easier than
sending a patch, but I can send the patch file if it helps.
====================================================================== 

---------------------------------------------------------------------- 
 (0096145) file (administrator) - 2008-12-10 16:16
 http://bugs.digium.com/view.php?id=14011#c96145 
---------------------------------------------------------------------- 
The code is working as it should. It is used in combination with the 'm'
extension and specified context. If no context is specified then
args.context is set to chan->context so the code you mentioned is not
executed in that scenario. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-10 16:16 file           Note Added: 0096145                          
2008-12-10 16:16 file           Status                   new => resolved     
2008-12-10 16:16 file           Resolution               open => no change
required
2008-12-10 16:16 file           Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list