[asterisk-bugs] [Asterisk 0015338]: AstApplicationData when called with several arguments escapes comma with backslash

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 10 03:45:28 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15338 
====================================================================== 
Reported By:                nito
Assigned To:                suretec
====================================================================== 
Project:                    Asterisk
Issue ID:                   15338
Category:                   Resources/res_config_ldap
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.9 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-16 19:59 CDT
Last Modified:              2009-11-10 03:45 CST
====================================================================== 
Summary:                    AstApplicationData when called with several
arguments escapes comma with backslash
Description: 
In my configuration we use LDAP as our database repository

With entries like this

dn: uid=jsalonen,ou=People,
AstApplication: Macro
AstExtension: 5035
AstPriority: 1
AstApplicationData: sipdial,SIP/nito,+3400012345

There is a macro in the dialplan

[macro-sipdial]
exten => ... ${ARG1} ...

and so on

on version 1.0.6-beta9 the macro was correctly called as:

Macro(sipdial,SIP/nito,+3400012345)

but since version 1.0.6.9 the macro is called as:

Macro(sipdial\,SIP/nito\,+3400012345)

That is setting a backslash for any comma that appears,




====================================================================== 

---------------------------------------------------------------------- 
 (0113494) suretec (developer) - 2009-11-10 03:45
 https://issues.asterisk.org/view.php?id=15338#c113494 
---------------------------------------------------------------------- 
Hi,

Have you tried this in the latest version?

Thanks. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-10 03:45 suretec        Note Added: 0113494                          
======================================================================




More information about the asterisk-bugs mailing list