[asterisk-bugs] [Asterisk 0016646]: [patch] Its not possible to pass more than one agrument in custom features.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 14 17:57:37 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16646 
====================================================================== 
Reported By:                pinga-fogo
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16646
Category:                   Resources/res_features
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.4.32
Asterisk Version:           SVN 
JIRA:                       SWP-758 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-01-19 04:46 CST
Last Modified:              2010-04-14 17:57 CDT
====================================================================== 
Summary:                    [patch] Its not possible to pass more than one
agrument in custom features.
Description: 
Is not possible to pass mor than one argument in a custon features, if i
use the pipe | to separate the arguments, this downt work in dialplan, and
if i use "," to separate the arguments the feature accept the first
argument only, 
example:
testfeature => *25,peer/callee,goto,tstfax|s|1
(in execution the dialplan not recognise the pipe separator (deprecated))

testfeature => *25,peer/callee,goto,tstfax,s,1
(the parameters are parsed incorrect, MOH_Class = s)


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016984 impossible to pass more than one argume...
====================================================================== 

---------------------------------------------------------------------- 
 (0120431) svnbot (reporter) - 2010-04-14 17:57
 https://issues.asterisk.org/view.php?id=16646#c120431 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 257262

U   trunk/configs/features.conf.sample
U   trunk/main/features.c

------------------------------------------------------------------------
r257262 | tilghman | 2010-04-14 17:57:36 -0500 (Wed, 14 Apr 2010) | 15
lines

Yet another issue where the conversion of the application delimiter to
comma caused an issue.

Application arguments within the feature map could possibly contain a
comma,
which conflicts with the syntax of the features.conf configuration file. 
This
patch allows the argument to be wrapped in parentheses or quoted, to allow
the
application arguments to be interpreted as a single configuration
parameter.

(closes issue https://issues.asterisk.org/view.php?id=16646)
 Reported by: pinga-fogo
 Patches: 
       20100414__issue16646.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman
 
Review: https://reviewboard.asterisk.org/r/547/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=257262 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-14 17:57 svnbot         Note Added: 0120431                          
======================================================================




More information about the asterisk-bugs mailing list