Daniel-Constantin Mierla writes:

> I don't think a strict type checking is suitable for configuration file 
> - e.g., if I want to check value in cseq, don't want to get lost in type 
> conversions.
> 
> If there is going to be such error messages, they must be enclosed in a 
> config parameter.

yes, there could be a config parameter
"warn_about_implicit_type_conversions" or something like that.  i would
definitely turn it on, since it would not be a big deal for me to add
(int) or (string) in front of a variable when i want type conversion to
be done in order to avoid config mistakes that get unnoticed.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to