[SR-Users] usrloc extra attributes and db_mode=0

Patrick Wakano pwakano at gmail.com
Tue May 28 08:26:24 CEST 2019


Hello list,
Hope you all doing well!

I am trying to use the extra attributes (xavp_contact) of the usrloc module
to save some additional info about the user.
I am setting the value before the save() and doing a call to registered()
(not lookup()) before trying to access these extra attributes. This works
fine with db_mode=3 but does not work in case of db_mode=0.
Does anyone knows if it should also work with mode 0? I was expecting it to
work but a call to kamcmd ul.dump show nothing related.....
I don't want to use the DB for the location purposes because I prefer to
have multiple servers using the dmq_usrloc (that works like a charm!) and
it conflicts with DB persistence of the location table (when the DMQ
replication happens, all servers (sharing the same DB) try to save the same
user info in the location table)

Thank you,
Kind regards,
Patrick Wakano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190528/0a3c8712/attachment.html>


More information about the sr-users mailing list