[sr-dev] [kamailio/kamailio] s.select transformation not returning null for nonexistent indexes (#2128)
Daniel-Constantin Mierla
notifications at github.com
Tue Nov 19 15:47:46 CET 2019
The example is wrong, indeed -- iirc, the transformations were not returning `$null` in the initial design, because they were supposed to be a property of a valid value. Not sure if there is any transformation returning `$null` right now.
However, changing this behaviour might break other existing configs, so this has to be discussed and analyzed properly.
Right now probably the `{s.count,;}` should be used to get what is the max index.
* https://www.kamailio.org/wiki/cookbooks/5.3.x/transformations#scount_c
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2128#issuecomment-555540754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191119/8b360a9d/attachment.html>
More information about the sr-dev
mailing list