[asterisk-bugs] [Asterisk 0015338]: AstApplicationData when called with several arguments escapes comma with backslash
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Jun 16 19:59:22 CDT 2009
The following issue has been SUBMITTED.
======================================================================
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
Regression: No
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-06-16 19:59 CDT
======================================================================
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,
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-06-16 19:59 nito New Issue
2009-06-16 19:59 nito Status new => assigned
2009-06-16 19:59 nito Assigned To => suretec
2009-06-16 19:59 nito Asterisk Version => 1.6.0.9
2009-06-16 19:59 nito Regression => No
2009-06-16 19:59 nito SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list