On Oct 30, 2009 at 12:16, Juha Heinanen <[email protected]> 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

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to