Giter Club home page Giter Club logo

Comments (15)

felipecrs avatar felipecrs commented on August 30, 2024

AFAIK AdGuard add-on isn't taken into account as DNS server for other add-ons.

One thing you can try to do is to set the DNS in the Asterisk config files:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Configuration_res_resolver_unbound

; /config/asterisk/custom/resolver_unbound.conf

[general]
nameserver = 127.0.0.1
resolv =

Theoretically it should make Asterisk use your AdGuard home as DNS server.

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

Hi @felipecrs,

Thank you for your response. Based on the various tests I have conducted, it seems that the module allowing the use of that specific configuration has not been compiled into the Docker image of the addon.

In reality, my hope was that it could be implemented in the future so that we can manually insert a custom DNS configuration.

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

Hm... that could be the case. PRs are welcome if you happen to figure it out.

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

I have just submitted the PR #270
I have tested it now without any issues, and I hope you can integrate it soon!

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

Thank you! It will be released tomorrow :)

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

@Danny89530 I'm receiving this issue in my logs after #270 released as 4.1.0:

ERROR[512]: loader.c:2524 load_modules: Error loading module 'res_resolver_unbound.so': libunbound.so.8: cannot open shared object file: No such file or directory

Is there a chance you can take a look?

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

Hi @felipecrs, I just performed the upgrade, and I just noticed that the "libunbound-dev" library is not installed on the container. I'm checking it right now...

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

Debian was also upgraded from 11 to 12, maybe it has something to do with it as well.

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

I have just tried to compile the Dockerfile separately, not considering the addon. Everything is compiled and installed as it should. Now I am compiling the addon, but I can't figure out why it would skip the installation of the library.

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

I'm having trouble understanding what the problem might be.
I just tried running the installation of the library separately using the apt command, but it doesn't seem to be installed according to dpkg. Do you have any ideas?

immagine

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

Can you change to libunbound8 just to try?

I will take a closer look tomorrow otherwise.

from asterisk-hass-addons.

Danny89530 avatar Danny89530 commented on August 30, 2024

Unfortunately, nothing has changed.
Even installing libunbound8 directly, it doesn't show up on dpkg during startup.
I am quite puzzled..

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

Oh, I know what's wrong. You added the dependency on the "build" docker layer. You should in fact add it to the "base" docker layer. Check the apt-get install command before the one you made changes to.

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024

The build layer is intermediary and it's only used to build asterisk from source.

That's why you don't see the dependency after the build.

from asterisk-hass-addons.

felipecrs avatar felipecrs commented on August 30, 2024
  • #275 should fix this issue

from asterisk-hass-addons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.