[sr-dev] [kamailio/kamailio] $(hdr(foo)[idx]) is 0-based, textopsx.remove_hf_value("foo[idx]") is 1-based, they should be the same (#2387)

Daniel-Constantin Mierla notifications at github.com
Mon Jul 6 09:12:42 CEST 2020


The textopsx functions were developed by the SER project devs, when there were two separate projects, so it could be that they used 1-based index. If not clear in documentation, then it should be added there for now.

Otherwise, I am fine to get it use 0-based indexing, to be more coherent across the modules.

-- 
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/2387#issuecomment-654057675
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200706/edd11f87/attachment.html>


More information about the sr-dev mailing list