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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 2 20:46:35 CST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14011 
====================================================================== 
Reported By:                dveiga
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14011
Category:                   Applications/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2008-12-02 20:46 CST
Last Modified:              2008-12-02 20:46 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-02 20:46 dveiga         Asterisk Version          => 1.6.1-beta3     
2008-12-02 20:46 dveiga         SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-12-02 20:46 dveiga         SVN Revision (number only!) => 160441          
======================================================================




More information about the asterisk-bugs mailing list