[Home]

Summary:ASTERISK-15765: impossible to pass more than one argument to a custom applicationmap in features.conf
Reporter:frawd (frawd)Labels:
Date Opened:2010-03-08 07:05:49.000-0600Date Closed:2010-03-08 10:16:19.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:As the pipe delimiter is deprecated in 1.6, it is impossible to add an application map with multiple arguments in features.conf.

Changing the pipe to a comma makes the features.c parser think that the multiple arguments are part of the MoH class parameter. This prevents from having more than one argument.

****** ADDITIONAL INFORMATION ******

Old style application map:

[applicationmap]
cm_monitor => *8,self/both,AGI,<argument1>|<argument2>,<mohclass>

Runs: AGI(<argument1>|<argument2>) => FAILS IN 1.6
MoH class: <mohclass>


New style appmap:

[applicationmap]
cm_monitor => *8,self/both,AGI,<argument1>,<argument2>,<mohclass>

Runs: AGI(<argument1>)
MoH class: <argument2>,<mohclass>
Comments:By: Leif Madsen (lmadsen) 2010-03-08 10:16:19.000-0600

Duplicate of issue ASTERISK-15468. Please test the patch on that issue and continue debugging there. Thanks!