[sr-dev] [kamailio/kamailio] JSONRPCS replacing keys in params gives unexpected behaivor (#1550)

Daniel-Constantin Mierla notifications at github.com
Tue May 29 20:04:28 CEST 2018


The RPC interface is designed for positional parameters, not named parameters, in other words, the order is important. For example binrpc (implemented by ctl and used by kamcmd) doesn't have a way to give names for params, and, iirc, xmlrpc (initial) specs were also with positional params. If you look at the docs for rpc commands, they do not define names for parameters.

The jsonrpcs ignore the names and use the values based on position.

I am closing this one, even a feature request is something that needs a lot of work in couple of modules. of course, a pull request with such enhancement will be considered, but it is out of scope to keep it as a feature request.

-- 
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/1550#issuecomment-392877828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180529/8982f118/attachment.html>


More information about the sr-dev mailing list