[OpenSIPS-Users] OpenSIPS 3.2 - cachedb_url / mongo+srv support

Pete Kelly pkelly at gmail.com
Thu Jan 26 11:51:03 UTC 2023


Hi

I am using the cachedb_url parameter in the usrloc module, in order to
connect to a MongoDB cluster.

However the connection string I need to use is mongodb+srv:// in order to
do an SRV lookup to find the correct/current cluster node to connect to.

OpenSIPS doesn’t seem to support this currently (v3.2.10) and gives the
error:

ERROR:core:cachedb_bind_mod: failed to bind to [mongodb+srv] module. Is it
loaded ?

Jan 26 11:47:26 opensips10 /usr/sbin/opensips[1714368]:
ERROR:usrloc:ul_check_db: cannot bind functions for cachedb_url
mongodb+srv:….


Is there a way around this somehow by modifying the connection string, or
is it simply not currently supported?

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230126/f5f4342f/attachment.html>


More information about the Users mailing list