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

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


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13765 
====================================================================== 
Reported By:                pj
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13765
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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:10 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;
  }
}

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-22 15:10 pj             Asterisk Version          => SVN             
2008-10-22 15:10 pj             SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2008-10-22 15:10 pj             SVN Revision (number only!) => 148373          
======================================================================




More information about the asterisk-bugs mailing list