[SR-Users] jsonrpcs - safest way to get data

Ilie Soltanici iliusha.md at gmail.com
Tue Oct 6 00:28:44 CEST 2020


Hello,

I'm trying to periodically get all registered contacts from the Kamailio
memory in the json format.
JSONRPCS module have 3 different types of transport to get this data. I
just wonder what will be the safest transport for the Kamailio to get all
this data? Because all this data it's not so important, I want to gather it
without affecting the main process or with the minimal effect on the
Kamailio SIP Processing module.

1. The HTTP transport - very useful, working async, but because it depends
on the xhttp module - which works synchronously I'm afraid that for big
data with contacts this type of transport can affect the kamailio
performance.

2. FIFO - this transport also is very fast, working locally - but it's
synchronous, I'm not sure how it will affect Kamailio SIP Processing when
the local database will have few millions of users registered.

3. DGRAM - also seems to be very fast, working locally or remotely through
the UDP protocol, but again it's synchronous and I'm not sure that this
transport is returning any output for the request, I tried - but didn't get
back anything, while for changing something it worked fine. Maybe it was a
misconfiguration in my config file.

What would be your recommendation for this case?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201005/38ec10c7/attachment.htm>


More information about the sr-users mailing list