[asterisk-bugs] [Asterisk 0012564]: switch => Realtime/context at failmy doesn't accept variables in context

noreply at bugs.digium.com noreply at bugs.digium.com
Thu May 1 06:02:40 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12564 
====================================================================== 
Reported By:                chris-mac
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12564
Category:                   Resources/res_realtime
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 114919 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-01-2008 06:02 CDT
Last Modified:              05-01-2008 06:02 CDT
====================================================================== 
Summary:                    switch => Realtime/context at failmy doesn't accept
variables in context
Description: 
My dialplan:
[ivr]
exten => s,1,Ringing
exten => s,n,Set(MENU_ID=29)
exten => s,n,NoOp(MENU_ID: ${MENU_ID})
exten => s,n,Wait(2)
exten => s,n,Answer()
switch => Realtime/menu-${MENU_ID}@ivr

SQL query passed to MySQL server - DEBUG output:
DEBUG[1348] res_config_mysql.c: MySQL RealTime: Retrieve SQL:
SELECT * FROM ivr WHERE exten = 's' AND context = 'menu-' AND priority =
'6'

NOTE: "context = 'menu-'" should be "context = 'menu-29'" in the above
query.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-01-08 06:02  chris-mac      Asterisk Version          => SVN             
05-01-08 06:02  chris-mac      SVN Branch (only for SVN checkou =>  1.4         
  
05-01-08 06:02  chris-mac      SVN Revision (number only!) => 114919          
======================================================================




More information about the asterisk-bugs mailing list