sip-router

SIP Router Project

Tasklist

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
Task Type Improvement
Category Module
Status Assigned
Assigned To Daniel-Constantin Mierla (miconda)
Operating System All
Severity Low
Priority Normal
Reported Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

According 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:

flags acc:1

modparam("acc", "log_flag", acc)

results in:

 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)

Where line 71 corresponds to the modparam line.

Quoting the parameter value doesn’t help.

This task depends upon

Comment by Daniel-Constantin Mierla (miconda) - Tuesday, 29 November 2011, 11:06 GMT

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.

Loading...