[asterisk-bugs] [Asterisk 0011767]: [patch] agi SET VARIABLE does not allow the substitution of functions/variables.

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jan 15 07:28:59 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11767 
====================================================================== 
Reported By:                davevg
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11767
Category:                   Resources/res_agi
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 98714 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             01-14-2008 15:01 CST
Last Modified:              01-15-2008 07:28 CST
====================================================================== 
Summary:                    [patch] agi SET VARIABLE does not allow the
substitution of functions/variables.
Description: 
res_agi does not properly substitute variables when using the SET VARIABLE
command.  See additional information for agi debug trace before and after
this patch.  Both 1.4 and trunk have this issue.
====================================================================== 

---------------------------------------------------------------------- 
 davevg - 01-15-08 07:28  
---------------------------------------------------------------------- 
Many thanks, I never thought of that.  I was constantly trying different
ways of using SET VARIABLE and EXEC SET (I even went as far as trying
TRYSYSTEM and SYSTEM using a shell script with a exit code) which were not
working the ways I were trying.  *-users irc chat didn't respond with an
answer/solution so I looked at the code.  I saw it was just not implemented
in the SET VARIABLE command so I added it.  Never dawned on me to try using
the GET directly.  Now I don't need this patch, but it still may be
something worth going into /trunk for cases when this would be desirable. 
Thanks again! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-15-08 07:28  davevg         Note Added: 0076966                          
======================================================================




More information about the asterisk-bugs mailing list