Summary: | ASTERISK-16814: Passing multiple arguments to applications fails | ||
Reporter: | Mikhail Slyusarev (mik3weider) | Labels: | |
Date Opened: | 2010-10-14 09:47:34 | Date Closed: | 2011-06-07 14:04:50 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_features |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
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. ****** ADDITIONAL INFORMATION ****** Linux 2.6.18-194.17.1.el5 | ||
Comments: | By: Leif Madsen (lmadsen) 2010-10-14 16:31:39 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. |