[asterisk-bugs] [Asterisk 0018279]: res_odbc using ^ separator in M(macro) option as argument separator in Dial app gives control characters

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 9 09:57:56 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18279 
====================================================================== 
Reported By:                zerohalo
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18279
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.37-rc1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-11-08 17:14 CST
Last Modified:              2010-11-09 09:57 CST
====================================================================== 
Summary:                    res_odbc using ^ separator in M(macro) option as
argument separator in Dial app gives control characters
Description: 
I believe I've seen this in the tracker before, but can't find it - feel
free to close this and redirect me.

in dialplan:

exten => s,1,Dial(${INTERFACE},${RINGTIME},rM(setmoh^accmusic))

the ^ seems to become an escape that mangles the argument (in this case,
the moh class):

[2010-11-07 08:03:08] WARNING[13261] app_macro.c: No such context
'macro-setmoh¬cmusic' for macro 'setmoh¬cmusic'

this does not appear to happen using res_mysql.
====================================================================== 

---------------------------------------------------------------------- 
 (0128722) zerohalo (reporter) - 2010-11-09 09:57
 https://issues.asterisk.org/view.php?id=18279#c128722 
---------------------------------------------------------------------- 
sorry - should read res_config_odbc and res_config_mysql. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-11-09 09:57 zerohalo       Note Added: 0128722                          
======================================================================




More information about the asterisk-bugs mailing list