[sr-dev] [kamailio/kamailio] Unable to pass Extra parameter to IMS_CHARGING module (#2138)

Daniel-Constantin Mierla notifications at github.com
Tue Nov 19 08:47:53 CET 2019


The config file interpreter supports functions with max 6 parameters. Changing that will require updates of the code in the core. However, adding support for more parameters is not optimal also from coding best practices point of view.

A solution is to serialize the parameter in a format that you can parse internally (e.g., json, or name=value1;name2=value2, or with separator param1;param2). Or maybe you can split the function in two, each with fewer parameters. If you want to discuss more, use sr-users mailing list.

-- 
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/2138#issuecomment-555377245
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20191118/08f17e8f/attachment.html>


More information about the sr-dev mailing list