[asterisk-bugs] [Asterisk 0018144]: Passing multiple arguments to applications fails
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Oct 14 16:31:39 CDT 2010
The following issue has been CLOSED
======================================================================
https://issues.asterisk.org/view.php?id=18144
======================================================================
Reported By: mik3weider
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 18144
Category: Resources/res_features
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Asterisk Version: 1.6.2.13
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 286901
Request Review:
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2010-10-14 09:47 CDT
Last Modified: 2010-10-14 16:31 CDT
======================================================================
Summary: Passing multiple arguments to applications fails
Description:
When I try to pass arguments to applications in features.conf they don't
passing correctly.
features.conf
;works fine, but I want to pass args to the macro
bad-call-report => *6,self/both,Macro,bad-call-report
;only first arg is passed
;bad-call-report => *6,peer/both,Gosub,bad-call-report,s,1
;dialplan don't allow using pipelines
;bad-call-report => *6,peer/both,Goto,bad-call-report|s|1
In the second example res_features send Gosub(bad-call-report) to
dialplan. That is not what I want.
In the last example res_features send Goto(bad-call-report|s|1) to
dialplan. And such application call is not allowed in 1.6
I just want to pass multiple arguments to application.
======================================================================
----------------------------------------------------------------------
(0128065) lmadsen (administrator) - 2010-10-14 16:31
https://issues.asterisk.org/view.php?id=18144#c128065
----------------------------------------------------------------------
Per the features.conf file:
; AppArguments -> These are the arguments to be passed into the
application. If you need
; commas in your arguments, you should use either the
second or third
; syntax, above.
;<FeatureName> =>
<DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>[,"<AppArguments>"[,MOH_Class]]
;<FeatureName> =>
<DTMF_sequence>,<ActivateOn>[/<ActivatedBy>],<Application>([<AppArguments>])[,MOH_Class]
You are using incorrect syntax.
Issue History
Date Modified Username Field Change
======================================================================
2010-10-14 16:31 lmadsen Note Added: 0128065
2010-10-14 16:31 lmadsen Status new => closed
======================================================================
More information about the asterisk-bugs
mailing list