[asterisk-bugs] [Asterisk 0017825]: [patch] certain exception states do not jump to 'e' error extension properly

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 10 01:31:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17825 
====================================================================== 
Reported By:                fabled
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17825
Category:                   Core/PBX
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.10 
JIRA:                        
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-10 01:30 CDT
Last Modified:              2010-08-10 01:31 CDT
====================================================================== 
Summary:                    [patch] certain exception states do not jump to 'e'
error extension properly
Description: 
main/pbx.c: pbx_builtin_raise_exception() sets extensions 'e', priority 0.
It excepts to be called from within the main loop of __ast_pbx_run() where
priority is incremented before next extension is spawned.

However, pbx_uiltin_raise_exception() is called also from multiple places
across pbx.c outside of that loop leaving priority to be zero when that
loop is entered later.
====================================================================== 

---------------------------------------------------------------------- 
 (0125745) fabled (reporter) - 2010-08-10 01:31
 https://issues.asterisk.org/view.php?id=17825#c125745 
---------------------------------------------------------------------- 
Proposed patch that should cover most of the error cases. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-10 01:31 fabled         Note Added: 0125745                          
======================================================================




More information about the asterisk-bugs mailing list