[SR-Users] define a DBURL with SLQOPS fails

David Villasmil david.villasmil.work at gmail.com
Sun May 12 23:51:01 CEST 2019


Finally figured out how to do it:

cfg:
modparam("acc", "db_url", DBURL)
...
modparam("sqlops","sqlcon", CBDBURL)
...
modparam("sqlops","sqlcon", ASGDBURL)

and startup:

kamailio -f /etc/kamailio/kamailio.cfg -E  \
  -A 'DBURL="mysql://admin:mypass@db.mydomaincom/kamailio"' \
  -A "CBDBURL=\"cb=>admin:mypass at db.mydomaincom/kamailio\"" \
  -A 'ASGDBURL=\"asg=>admin:mypass at db.mydomaincom/kamailio\"' -DDDD 2>&1

Now let's try and put that on the startup systemd script.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190512/6b82d07c/attachment.html>


More information about the sr-users mailing list