[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 14:37:16 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 14:37 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0114788) svnbot (reporter) - 2009-12-04 14:37
 https://issues.asterisk.org/view.php?id=16166#c114788 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 233236

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

------------------------------------------------------------------------
r233236 | mnick | 2009-12-04 14:37:15 -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=233236 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-04 14:37 svnbot         Checkin                                      
2009-12-04 14:37 svnbot         Note Added: 0114788                          
======================================================================




More information about the asterisk-bugs mailing list