Daniel-Constantin Mierla writes:

 > use quotes around the parameter of bflag functions.
 > 
 > The grammar of sr cfg language allow module functions with integer 
 > parameters (now bflags functions are in kex module so they accept PV in 
 > parameters). This is wrong since all modules expect string there and 
 > there is no error thrown if function name and number of parameters 
 > matches -- it was discussed long time ago, but forgotten. I will fix
 > it.

it is very important from finding problems' point of view that an error
is generated if parameter to a function has wrong type.

this lookup/cflags issue is something else though, because even with
quotes, cflags remains 0.

-- juha

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

Reply via email to