<div dir="ltr">Well, does it possible to query the database directly using JSON RPC request?<div><br></div><div>Best regards</div><div>Loic<br><div class="gmail_extra"><br><div class="gmail_quote">2015-09-25 10:40 GMT+02:00 Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 25 September 2015 10:24:18 Loïc Boissy wrote:<br>
> Yes i do some test,<br>
> The "ul.dump" command seems return only actif user (connected user).<br>
> But I would like to dump all contacts present in my database...<br>
<br>
</span>Well, the location table only has active users, so the output is correct.<br>
If you want to get all subscribers it seems you have to query the database<br>
directly. That is something you'll have to do anyway depending on the usrloc<br>
db_mode. If that is db only, ul.dump returns nothing, since ul.dump returns<br>
the memory state of the kamailio instance.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div></div></blockquote></div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="color:rgb(136,136,136)"></div></div></div></div></div></div></div></div></div></div>
</div></div></div>