does is work like below? That's how mine is set, probably for the same
reason.
modparam("sqlops","sqlcon","cb=>mysql://user:password@localhost/dbname")
On Fri, May 10, 2019 at 7:47 PM David Villasmil <
david.villasmil.work(a)gmail.com> wrote:
No,
DBURL translates into
"mysql://user:admin@dbuser/dbname"
so in sqlops:
modparam("sqlops","sqlcon","cb=>DBURL")
translates into:
modparam("sqlops","sqlcon","cb=>"mysql://user:admin@dbuser/dbname"")
that works great on
modparam("domain", "db_url", DBURL)
because it translates into:
modparam("domain", "db_url",
"mysql://user:admin@dbuser/dbname")
But not on the sqlops case
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
On Sat, May 11, 2019 at 12:32 AM Sergiu Pojoga <pojogas(a)gmail.com> wrote:
You've got a typo
modparam("sqlops","sqlcon","cb=>DBURL")
On Fri, May 10, 2019 at 7:02 PM David Villasmil <
david.villasmil.work(a)gmail.com> wrote:
Hello guys,
So, i'm defining:
DBURL "mysql://user:password@dbhost/dbname"
and later on...
modparam("sqlops","sqlcon","cb=>"DBURL)
and this fails miserably..
What do do on this case?
Thanks all!
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users