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 -- Henning Westerholt – https://skalatan.de/blog/ Kamailio services – https://gilawa.com > -----Original Message----- > From: Benoit Panizzon <benoit.paniz...@imp.ch> > Sent: Montag, 12. Juni 2023 11:59 > To: sr-users@lists.kamailio.org > Subject: [SR-Users] What is the best way to return a lot of data via JSONRPC > and jansson? > > 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- > -- > I m p r o W a r e A G - Leiter Commerce Kunden > ______________________________________________________ > > Zurlindenstrasse 29 Tel +41 61 826 93 00 > CH-4133 Pratteln Fax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > ______________________________________________________ > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe > send an email to sr-users-le...@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: