[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 07:17:21 CDT 2008
The following issue has been CLOSED
======================================================================
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: closed
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:
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 05-01-2008 06:02 CDT
Last Modified: 05-01-2008 07:17 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.
======================================================================
----------------------------------------------------------------------
Corydon76 - 05-01-08 07:17
----------------------------------------------------------------------
Use "eswitch" or "lswitch" if you want variables evaluated at runtime. See
extensions.conf.sample for more information.
Issue History
Date Modified Username Field Change
======================================================================
05-01-08 07:17 Corydon76 Note Added: 0086249
05-01-08 07:17 Corydon76 Status new => closed
05-01-08 07:17 Corydon76 Resolution open => no change
required
======================================================================
More information about the asterisk-bugs
mailing list