First simple Asterisk installation does not work


I am newbie in Asterisk, and want to use it for SIP protocol between a SIP monitor and a SIP door videophone.

I still have these errors and warning when starting Asterisk 20.5.0 in Docker container based on Alpine (Docker), hosted on a Synology NAS (network HOST) :

ERROR[1]: loader.c:2524 load_modules: Failed to resolve dependencies for res_stir_shaken
ERROR[105]: netsock2.c:303 ast_sockaddr_resolve: getaddrinfo(“asterisk”, “(null)”, …): Name does not resolve
ERROR[105]: ari/config.c:312 process_config: No configured users for ARI
ERROR[106]: res_pjsip/config_system.c:267 system_create_resolver_and_set_nameservers: There are no local system nameservers

WARNING[105]: res_phoneprov.c:1249 get_defaults: Unable to find a valid server address or name.

Any idea if it will be solved?
Does these errors prevent Asterisk from working properly?

I installed some other SIP client on smartphone (SIPAndroid, Zoip, …) and PC Windows (Jitsi) but none of them succeed in registering with Asterisk server.

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 can launch command in the CLI, but I am not sure that Asterisk is well started…

Any idea on which direction I shoud look at to undestand what happens?

Thanks in advance

Set a name resolver for asterisk hostname and you’re done.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.