[OpenSIPS-Users] registrar and kv_store
Alberto
alberto.rinaudo at gmail.com
Tue Jan 11 09:50:22 UTC 2022
Hi,
I'm testing some features I want to implement, my usrloc and registrar
configuration look like this:
loadmodule "usrloc.so"
modparam("usrloc", "db_url", "unixodbc://opensips:opensipsrw@localhost
/opensips")
modparam("usrloc", "nat_bflag", "NAT")
modparam("usrloc", "working_mode_preset",
"single-instance-sql-write-through")
loadmodule "registrar.so"
modparam("registrar", "attr_avp", "$avp(finloc)")
modparam("registrar", "max_contacts", 1)
How do I insert values in the kv_store column?
It's easy to use the attr_avp, but I need to store a couple more values
upon registrations and the key-value storage would be the perfect solution.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220111/530464ec/attachment.html>
More information about the Users
mailing list