[OpenSIPS-Users] Missing auth package in docker image

Dragan, Calin Calin.Dragan at garmin.com
Fri Mar 8 10:34:19 UTC 2024


Hi Razvan

Thank you! Installing the missing modules worked like a charm, I just didn’t know where to install them from.

Regards,
Calin

From: Users <users-bounces at lists.opensips.org> On Behalf Of Razvan Crainea
Sent: Friday, March 08, 2024 12:16 PM
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] Missing auth package in docker image

Hi, Calin! The stock/latest docker image does not come with any extra modules installed, it only comes with the opensips package, which should be enough for running the default opensips configuration. If I understand correctly, you also need


Hi, Calin!



The stock/latest docker image does not come with any extra modules

installed, it only comes with the opensips package, which should be

enough for running the default opensips configuration.

  If I understand correctly, you also need the auth_db module, which is

part of the opensips-auth-modules package, and most likely a database

module as well.

Luckily, you have multiple choices to get this done:

* Install (i.e. using apt-get install opensips-auth-modules) the

packages you need in the docker container you already started

* Build your own docker container [2] with the correct setting of the

`OPENSIPS_EXTRA_MODULES` variable

* Use one of the sipssert images[3], which already includes the desired

package, along with others[2].



[1] https://urldefense.com/v3/__https://github.com/OpenSIPS/docker-opensips__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hnTW6o4A$<https://urldefense.com/v3/__https:/github.com/OpenSIPS/docker-opensips__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hnTW6o4A$>

[2]

https://urldefense.com/v3/__https://hub.docker.com/layers/opensips/opensips/sipssert-3.4/images/sha256-be41b1e7cbcd4bb8ce89f8055fc636dd57bd047a9992ff4b42adc75ad4066610?context=explore__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_gP1eygJg$<https://urldefense.com/v3/__https:/hub.docker.com/layers/opensips/opensips/sipssert-3.4/images/sha256-be41b1e7cbcd4bb8ce89f8055fc636dd57bd047a9992ff4b42adc75ad4066610?context=explore__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_gP1eygJg$>

[3]

https://urldefense.com/v3/__https://github.com/OpenSIPS/sipssert-opensips-tests/blob/3.4/.opensips.modules__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hjt66IaA$<https://urldefense.com/v3/__https:/github.com/OpenSIPS/sipssert-opensips-tests/blob/3.4/.opensips.modules__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hjt66IaA$>



Best regards,



Răzvan Crainea

OpenSIPS Core Developer / SIPhub CTO

https://urldefense.com/v3/__http://www.opensips-solutions.com__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_heL3gqmw$<https://urldefense.com/v3/__http:/www.opensips-solutions.com__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_heL3gqmw$> / https://urldefense.com/v3/__https://www.siphub.com__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_j7Wkuyxw$<https://urldefense.com/v3/__https:/www.siphub.com__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_j7Wkuyxw$>



On 3/7/24 13:39, Dragan, Calin via Users wrote:

> Hi,

>

> I'm new to Opensips, so I started with the opensips/opensips docker image, version 3.4. I installed, configured it, the server is running just fine. My problem is that I try to set-up the db authentication, but the auth_db.so cannot be loaded because of the missing auth.so module. This doesn't exist in the docker image. The last image where I found the auth.so module was 3.2, but I tried it and it is not compatible with the 3.4 version. Is there a way to enable db authentication with the 3.4 build?

>

> Thank you

>

>

> Hi,

>

> I’m new to Opensips, so I started with the opensips/opensips docker

> image, version 3.4. I installed, configured it, the server is running

> just fine. My problem is that I try to set-up the db authentication, but

> the auth_db.so cannot be loaded because of the missing auth.so module.

> This doesn’t exist in the docker image. The last image where I found the

> auth.so module was 3.2, but I tried it and it is not compatible with the

> 3.4 version. Is there a way to enable db authentication with the 3.4 build?

>

> Thank you

>

>

> _______________________________________________

> Users mailing list

> Users at lists.opensips.org<mailto:Users at lists.opensips.org>

> https://urldefense.com/v3/__http://lists.opensips.org/cgi-bin/mailman/listinfo/users__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hkrZARzQ$<https://urldefense.com/v3/__http:/lists.opensips.org/cgi-bin/mailman/listinfo/users__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hkrZARzQ$>



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

https://urldefense.com/v3/__http://lists.opensips.org/cgi-bin/mailman/listinfo/users__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hkrZARzQ$<https://urldefense.com/v3/__http:/lists.opensips.org/cgi-bin/mailman/listinfo/users__;!!EJc4YC3iFmQ!XbjfVzm_t84z0dh8Q9xdosVyOiogt_i7sHVGyQHdHtOIbmWQ5giucNn_NeCOhaB8bBl04p9ZS_hkrZARzQ$>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240308/72a1cc25/attachment-0001.html>


More information about the Users mailing list