-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix remaining Asterisk errors #23
Comments
|
Hi, I have same error when I start Astersk |
Most of them will probably be fixed with #17. But I have some others not mentioned here:
|
It seems that this one is not so easy to fix:
Seems to be an issue if the used libc does not provide a certain functionality. What does Alpine use? A few of the remaining error that are nt related to the chan_sip<>chan_pjsip issue could be solved by removing some modules that are not needed under normal circumstances.
|
Again concerning the nameserver error message. See here: https://github.com/hassio-addons/addon-base/blob/main/base/Dockerfile#L32 |
Interesting, is there an alternative to musl? |
Yes. The normal glibc. However, we cannot use Alpine then. And this means we cannot use the Alpine-based addon base images from Home Assistant. Do the Home Assistant people also provide Debian-based base images? |
So we should consider using a Debian Base image then. What we should not do under all circumctances is this: glibc-based Alpine with a mixture of two C libraries. |
Alright, I'm fine either case. We will just have to install Python in the Debian image. Should not be a problem anyway. |
Yes, however Bullseye (Debian 11 [stable]) only comes with Asterisk 16. Maybe we should consider integrating this: |
Gives us more control on the features we really need in the addon as most modules are probably not needed for the use-case described here. |
Interesting... how do we put this in this repo? Copying and pasting? Using git submodule? |
I would suggest to copy and paste the relevant stuff from the Dockerfile and copy the the build_asterisk.sh script. |
We cannot copy, unless the author adds a license in the repo. I will open an issue there. |
As this is standard stuff I would just recreate it. |
@felipecrs https://github.com/andrius/asterisk/blob/master/debian/18-current/build-asterisk.sh looks familiar, hm? 😉 |
@nanosonde that's awesome!! And yes. Very familiar lol |
|
Damn. Slipped through. |
Also. |
Hello, ERROR[1]: loader.c:2524 load_modules: Failed to resolve dependencies for res_stir_shaken WARNING[105]: res_phoneprov.c:1249 get_defaults: Unable to find a valid server address or name. Any idea if it will be solved? |
@CedricAndry I am confused. Are you reporting issues for someone else's image? And as far as I can tell they do not prevent Asterisk from working. |
@felipecrs , yes, I am really sorry, I made a mistake. Thanks for your answer by the way! Maybe can I afford another question : it is normal that there is no socket opened waiting on the default port (5060) when I launched a command netstat -a | grep 5060 ? |
I am not sure, but it could be. This add-on ships pre-configuration for Asterisk, which you can see at:
But you can also use this add-on with docker: https://github.com/TECH7Fox/asterisk-hass-addons/blob/main/asterisk/CHANGELOG.md#400 |
Ok, thanks! I will try it! |
Hello, i'm trying to install astrisk but i have the same error how you resolv it ?
|
These errors are not blocking. Isn't it working for you? |
Yeah it bloking the starting of the service
journalctl -xe
|
systemctl? Are we still talking about the Asterisk add-on for Home Assistant? |
i'm doing a asterisk server for my home assitance it just for learn about voip |
If you are not using the add-on then you are posting your question in the wrong place. And sorry, I don't have any idea to help with your problem. |
Thanks you for your help |
There are still some errors when starting Asterisk. Maybe we can fix some.
The text was updated successfully, but these errors were encountered: