[OpenSIPS-Users] Specify Port for db_url

Mark Farmer farmorg at gmail.com
Tue Jun 23 15:06:44 EST 2020


Hi everyone

I need to connect the acc module to a different DB which uses haproxy on
port 3308.

I've checked the documentation for acc but there's no mention of database
ports.
Is it possible to specify a different port?

For example:

modparam("acc", "db_url", "mysql://username:password@XXX.XXX.XXX.XXX
:3308/opensips_cdr")

opensips 3.0.2

Many thanks!
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200623/cf5b2466/attachment.html>


More information about the Users mailing list