[sr-dev] looks like usrloc flags don't work either

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Oct 30 14:20:08 CET 2009


On Oct 30, 2009 at 12:16, Juha Heinanen <jh at tutpro.com> wrote:
> Daniel-Constantin Mierla writes:
> 
>  > use quotes around the parameter of bflag functions.
> 
> is it so that bflag functions require quotes and in other flag function
> quotes are not allowed?
> 
> looks like it because i'm now getting syntax error on this line:
> 
> 			isflagset("11")) {
> 
>  0(16211) : <core> [cfg.y:3209]: parse error in config file /etc/sip-proxy/sip-proxy.cfg, line 950, column 18: flag not declared
> 
> in order to avoid errors like this, all flag functions should take same
> kind of parameters.

You can skip "" for all the integers passed to modules. They are
converted to strings internally, so it doesn't really matter if you use
the "" or not.

Andrei



More information about the sr-dev mailing list