fredposner left a comment (kamailio/kamailio#4409)
$var variables cannot be null. (They are always 0 if not defined). In the spec,
it says:
> This transformation outputs valid SQL values for various PV values:
>
> - \ values are output as NULL
> - integers are output as integers
> - everything else is output as quoted and escaped string
So this seems expected. I would assume if $var(foo) was set to `1` is would
also output as an integer.
Have you tried with an $avp or other variable with $null?
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4409#issuecomment-3340552002
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/4409/3340552...@github.com>
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the
sender!