On 05/14/2009 03:14 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
It was not only integration work in the past
months, sip router has
quite a bunch of brand new feature. The wiki page to collect the summary
is available at:
http://sip-router.org/wiki/features/new-in-devel
i read the page and i get more and more convinced that i would like to
have a possibility to build sip-router in "strict" mode, where no type
conversions are done automatically. the current system is a mess and
prone to configuration file errors.
personally I haven't tested much that part to see what is annoying or
not. In K, all PVs have string representation although they represent
some number (inherited from xlog when PV were moved in core). So, all
PVs can be used in string operations, but string only pvs cannot be used
in integer operations.
i'm more that happy to use casts (int) and (str)
for me auto-conversion and explicit casts seem more to conflict that
complete each other.
Cheers,
Daniel
and check explicitly if
a pseudo variable is defined before i use it. so andrei, if not too
much work, please provide a STRICT compilation option and allow me to
use == and !=, when both arguments are either ints or strings.
-- juha
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com/