SIP Router Project
FS#119 - named flags not working for at least acc module
Attached to Project:
sip-router
Opened by Alex Hermann (axlh) - Friday, 18 March 2011, 16:49 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Tuesday, 29 November 2011, 11:04 GMT
Opened by Alex Hermann (axlh) - Friday, 18 March 2011, 16:49 GMT
Last edited by Daniel-Constantin Mierla (miconda) - Tuesday, 29 November 2011, 11:04 GMT
|
DetailsAccording to the wiki page http://sip-router.org/wiki/cookbooks/core-cookbook/devel#isflagset named flags are supported, but using them for the acc module throws multiple errors:
<code> flags acc:1 modparam("acc", "log_flag", acc) </code> results in: <code> 0(14923) : <core> [cfg.y:3412]: parse error in config file /etc/kamailio.cfg, line 71, column 29-31: syntax error 0(14923) : <core> [cfg.y:3412]: parse error in config file /etc/kamailio.cfg, line 71, column 29-31: Invalid arguments 0(14923) : <core> [cfg.y:3415]: parse error in config file /etc/kamailio.cfg, line 71, column 32: ERROR: bad config file (3 errors) </code> Where line 71 corresponds to the modparam line. Quoting the parameter value doesn't help. |
This task depends upon
I change this report to improvement -- names for flags were specific to SER flavour, while in Kamailio is now possible to use #!define to alias a string ID to a flag index. Not sure named flags makes sense to keep anymore.