Re: [SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Daniel-Constantin Mierla
On 05/04/16 14:18, Paul Smith wrote: > Hi Jon, > The normal way would be to use multiple modparam lines, one for each > of your databases. Then in your route config you can select and use > any of those connections: > > http://kamailio.org/docs/modules/4.4.x/modules/sqlops.html#idm20488 > > modp

Re: [SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Paul Smith
Hi Jon, The normal way would be to use multiple modparam lines, one for each of your databases. Then in your route config you can select and use any of those connections: http://kamailio.org/docs/modules/4.4.x/modules/sqlops.html#idm20488 modparam("sqlops","sqlcon","cb=>mysql://kamailio:abc@10

[SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Jon Bonilla (Manwe)
Hi all I have multiple auth credentials split among multiple databases (same server). I want to extract the password from the correct database for each request and pass it as arameter to the auth functions. The problem is, how can I use sqlops and select the correct database in realtime? the db c