[SR-Users] usrloc module with dbmode=2 does not insert records to database

Vik Killa vipkilla at gmail.com
Thu Jan 12 22:34:59 CET 2017


Hello,
we've noticed that the usrloc module does not "sync" all the records from
memory into the database.
I use a bash script to generate in-memory AoRs (
http://paste.debian.net/plain/908521)
then i perform
kamcmd ul.flush
and no records are inserted.
We have tried various usrloc parameters but none seem to work
Here is our basic setup

# ----- usrloc params -----
modparam("usrloc", "db_url", DBURL)
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", 1)
modparam("usrloc", "timer_interval", 120)
modparam("usrloc", "timer_procs", 4)

We are using postgresql.
are we missing something?

Thanks
/V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170112/4eb41670/attachment.html>


More information about the sr-users mailing list