[asterisk-bugs] [Asterisk 0012549]: App Queue extension/context copying

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Apr 29 10:38:31 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12549 
====================================================================== 
Reported By:                darren1713
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   12549
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-29-2008 10:15 CDT
Last Modified:              04-29-2008 10:38 CDT
====================================================================== 
Summary:                    App Queue extension/context copying
Description: 
The queue app copies the incoming context/exten from either its parent
macro, or current context, but it behaves strangely. 

The macro app copies the context/extension to two places, one is on the
chan struct (macrocontext/macroexten) and also copies it to the channel
vars (MACRO_EXTEN, MACRO_CONTEXT). Why this is, I don't know, but it should
be cleaned up in the future because they behave differently. The chan
struct only receives the FIRST macro to run, and no successive ones. This
means daisy chained macro's don't pass valid information off to app_queue.

This patch is to read the correct, and modifiable, channel variables
(MACRO_EXTEN, MACRO_CONTEXT) instead of the variables on the chan struct.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-29-08 10:38  putnopvut      Status                   new => assigned     
04-29-08 10:38  putnopvut      Assigned To               => putnopvut       
======================================================================




More information about the asterisk-bugs mailing list