[asterisk-bugs] [Asterisk 0015938]: Variables set inside a macro lose their value after dial

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 22 17:10:00 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15938 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15938
Category:                   Applications/app_dial
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 219720 
Request Review:              
====================================================================== 
Date Submitted:             2009-09-22 17:10 CDT
Last Modified:              2009-09-22 17:10 CDT
====================================================================== 
Summary:                    Variables set inside a macro lose their value after
dial
Description: 
[inbound]                                                                  
                                                                           

exten => _X.,1,Dial(Sip/${EXTEN}@X.X.X.X,25,M(get-callid)L(1800000))      
                                                                         
exten => h,1,Verbose(0,${Billx})                                          
                                                                           

                                                                          
                                                                           

[macro-get-callid]                                                        
                                                                           

exten => s,1,Set(Billx=1)         

please note that this variations are equally ineffective:
exten => s,1,Set(_Billx=1)
or 
exten => s,1,Set(__Billx=1)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-22 17:10 falves11       New Issue                                    
2009-09-22 17:10 falves11       Asterisk Version          => SVN             
2009-09-22 17:10 falves11       Regression                => No              
2009-09-22 17:10 falves11       SVN Branch (only for SVN checkouts, not tarball
releases) =>  1.4            
2009-09-22 17:10 falves11       SVN Revision (number only!) => 219720          
======================================================================




More information about the asterisk-bugs mailing list