[SR-Users] RPC ul.dump

Loïc Boissy boissy at digigram.com
Fri Sep 25 10:54:28 CEST 2015


Well, does it possible to query the database directly using JSON RPC
request?

Best regards
Loic

2015-09-25 10:40 GMT+02:00 Daniel Tryba <d.tryba at pocos.nl>:

> On Friday 25 September 2015 10:24:18 Loïc Boissy wrote:
> > Yes i do some test,
> > The "ul.dump" command seems return only actif user (connected user).
> > But I would like to dump all contacts present in my database...
>
> Well, the location table only has active users, so the output is correct.
> If you want to get all subscribers it seems you have to query the database
> directly. That is something you'll have to do anyway depending on the
> usrloc
> db_mode. If that is db only, ul.dump returns nothing, since ul.dump returns
> the memory state of the kamailio instance.
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150925/a8a7a6ac/attachment.html>


More information about the sr-users mailing list