<div dir="ltr">So, I think that the most simple is that, a separate kamailio saving contacts to the database.<div><br></div><div>Thanks for the information.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El sáb, 11 jun 2022 a las 2:28, Tim Anderson (<<a href="mailto:tim@claritynetworks.com.au">tim@claritynetworks.com.au</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>I have a system with a separate kamailio saving contacts to a database and it can handle at least 180000 contacts (600 domains with 300 users each) re-registering every 10 minutes.<br><br><div class="gmail_quote">On 10 June 2022 2:14:04 pm UTC, "Jose Fco. Irles Durá" <<a href="mailto:josefu@gmail.com" target="_blank">josefu@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">In my previous plattform version kamailio saves location to a postgresql and my gui's gets the contacts from db directly but in the new version I want to avoid databases.<div><br></div><div>I have around 20000 users by partition and for one partition the ul.dump is slow (~5-7 seconds) and not necessary because not all contacts are needed.</div><div><br></div><div>Another option is a dedicated kamailio saving the contacts to the database (like the previous version) or add logic at registrar to save the contact data to a redis for example.</div><div><br></div><div>Best regards</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 10 jun 2022 a las 14:10, Fred Posner (<<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
> On Jun 10, 2022, at 4:39 AM, Jose Fco. Irles Durá <<a href="mailto:josefu@gmail.com" target="_blank">josefu@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> I'm running a cloud infrastructure with multiple sip domains and I have some kamailio's as registrars with dmq for usrloc replication.<br>
> The kamailio registrars are configured without db, so the aors are in ram.<br>
> <br>
> For some gui's I need to get all aors for one sip domain, If I execute ul.dump I get all aors, but I want only a few. In my situation it would be perfect to get all registrations for one sip domain in one request (memory, performance, cache at gui...)<br>
> <br>
> I thought I could save the registers with save("$rd") but ul.dump doesn't allow any parameter that restricts the "location" domain.<br>
> <br>
> Is there any solution for this?<br>
> <br>
> Best regards<br>
<br>
In my mind, the filtering would require CPU. I’d rather something external parse the data (like a script or simple go program) to filter the data needed than Kamailio (leaving Kamailio CPU to RTC handling).<br>
<br>
Generally, I pull the dump and then parse it outside of kamailio.<br>
<br>
<br>
Fred Posner<br>
<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a><br>
<br>
<br>
<br>
<br>
<br>
__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Jose Fco. Irles Durá</div>
</blockquote></div><div style="white-space:pre-wrap"><div>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></div>__________________________________________________________<br>
Kamailio - Users Mailing List - Non Commercial Discussions<br>
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
Important: keep the mailing list in the recipients, do not reply only to the sender!<br>
Edit mailing list options or unsubscribe:<br>
  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Jose Fco. Irles Durá</div>