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

Daniel-Constantin Mierla miconda at gmail.com
Fri Oct 30 11:23:50 CET 2009



On 30.10.2009 11:16 Uhr, Juha Heinanen 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.
>   
only branch and script flags functions (kamailio specific) require 
quotes, being implemented in kex module and can have PV parameters, not 
only integers.

Daniel



More information about the sr-dev mailing list