[SR-Users] RFC: default config with jsonrpc over http instead of xmlrpc

Fred Posner fred at palner.com
Tue Nov 5 21:59:33 CET 2019


On 11/5/19 3:56 PM, Alex Balashov wrote:
> I support this and do think that XMLRPC is considered a bit baroque at
> this point.
> 

+1

> On Tue, Nov 05, 2019 at 06:45:40PM +0100, Daniel-Constantin Mierla wrote:
> 
>> Hello,
>>
>> I think it was discussed during past IRC meetings or at some events
>> across the world, with jsonrpc being these days more popular than
>> xmlrpc, specially due to easier integration with web based apps, I am
>> considering to replace the example of using xmlrpc over http(s) with
>> jsonrpc in the default configuration file. It is not enabled by default
>> for xmlrpc (requiring to define WITH_XMLRPC), so it will stay also as a
>> define option for jsonrpc.
>>
>> The jsonrpcs module is already loaded for kamctl, it will require the
>> xhttp module to be added.
>>
>> As for those looking for xmlrpc in the future, there is another example
>> kamailio cfg which has the option with it:
>> misc/examples/pkg/kamailio-oob.cfg
>>
>> Any other opinions?
>>
>> Cheers,
>> Daniel
>>
>> -- 
>> Daniel-Constantin Mierla -- www.asipto.com
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com


Fred Posner
fred at qxork.com
https://qxork.com
Direct/SMS: +1 (336) 439-3733

Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com



More information about the sr-users mailing list