[asterisk-bugs] [Asterisk 0013765]: after return from child context ARG is cleared

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 22 15:15:56 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13765 
====================================================================== 
Reported By:                pj
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13765
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 148373 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-22 15:10 CDT
Last Modified:              2008-10-22 15:15 CDT
====================================================================== 
Summary:                    after return from child context ARG is cleared
Description: 
simple ael dialplan, that ilustrates situation:
after gosub to child and return back to parent context, ARG1 value is
cleared after return back to parent context.
tested svn trunk and svn branch 1.6.0 both have this issue.


context parent {
  s => {
        Verbose(In parent before gosub to child cx arg1 has value
${ARG1});
        Gosub(child,s,1(${ARG1}));
        Verbose(In parent after gosub to child cx arg1 has value
${ARG1});
        return;
  }
}

context child {
  s => {
        Verbose(In child arg1 has value ${ARG1});
        return;
  }
}

====================================================================== 

---------------------------------------------------------------------- 
 (0094171) blitzrage (administrator) - 2008-10-22 15:15
 http://bugs.digium.com/view.php?id=13765#c94171 
---------------------------------------------------------------------- 
I am imagining this is happing in dialplan logic as well, and not just AEL.
Can someone confirm that? If that is the case, this might be better for
Corydon76 to look at. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-22 15:15 blitzrage      Note Added: 0094171                          
======================================================================




More information about the asterisk-bugs mailing list