Hi Team
To offer some diagnose functionality I created an API that returns the location list via JSONRPC
But this creates huge variables.
Jun 12 09:43:32 prod-cpereg02 kamailio[2174548]: ERROR: <core> [core/pvapi.c:1491]: pv_printf_mode(): no more space for spec value - printed:0 token:8599 buffer:8192 Jun 12 09:43:32 prod-cpereg02 kamailio[2174548]: ERROR: <core> [core/pvapi.c:1503]: pv_printf_mode(): buffer overflow -- increase the buffer size...
Already hitting the default limit and not sure this is the right way to go as we will end up with thousands of registrations.
What is the best way to return larger ammounts of data out of kamailio?
Avoid using the JSONRPC and access the database externally?
Mit freundlichen Grüssen
-Benoît Panizzon-
Hello,
what about just lookup the AOR(s) you are interested in and not all of them? This is usually sufficient for diagnostic functionality, like a support cockpit or similar. There is an RPC function for that.
Cheers,
Henning