[asterisk-bugs] [Asterisk 0016166]: [patch] Setting dialplan hint and using a global variable gives incorrect warning.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 4 15:15:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16166 
====================================================================== 
Reported By:                rmudgett
Assigned To:                mnick
====================================================================== 
Project:                    Asterisk
Issue ID:                   16166
Category:                   PBX/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 226672 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-02 11:36 CST
Last Modified:              2009-12-04 15:15 CST
====================================================================== 
Summary:                    [patch] Setting dialplan hint and using a global
variable gives incorrect warning.
Description: 
The dialplan line:

exten => 400,hint,DAHDI/i2/${GLOBAL(PH_1)}

incorrectly complains about missing '}'.
WARNING[7876]: pbx.c:3791 pbx_substitute_variables_helper_full: Error in
extension logic (missing '}')
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016059 [patch] Incorrect parsing of 'hint' ext...
====================================================================== 

---------------------------------------------------------------------- 
 (0114793) svnbot (reporter) - 2009-12-04 15:15
 https://issues.asterisk.org/view.php?id=16166#c114793 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 233240

_U  branches/1.6.2/
U   branches/1.6.2/pbx/pbx_config.c

------------------------------------------------------------------------
r233240 | mnick | 2009-12-04 15:15:01 -0600 (Fri, 04 Dec 2009) | 15 lines

Merged revisions 233093 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233093 | mnick | 2009-12-04 11:15:47 -0600 (Fri, 04 Dec 2009) | 8 lines
  
  Parse global variables or expressions in hint extensions
  
  Parse global variables or expressions in hint extensions. Like: exten =>
400,hint,DAHDI/i2/${GLOBAL(var)}
  
  (closes issue https://issues.asterisk.org/view.php?id=16166)
  Reported by: rmudgett
  Tested by: mnick, rmudgett
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=233240 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-04 15:15 svnbot         Checkin                                      
2009-12-04 15:15 svnbot         Note Added: 0114793                          
======================================================================




More information about the asterisk-bugs mailing list