What Service Does Asterisk Need To Avoid Netsock Error ?
I’m running Fedora 29. asterisk starts with a systemd service at boot. On any reboot I get a LOT of :
[Jan 15 09:30:26] ERROR[1162]: netsock2.c:541 ast_sockaddr_hash: Unknown address family ‘0’.
[Jan 15 09:30:35] ERROR[1161]: netsock2.c:541 ast_sockaddr_hash: Unknown address family ‘0’.
[Jan 15 09:30:45] ERROR[1155]: netsock2.c:541 ast_sockaddr_hash: Unknown address family ‘0’.
[Jan 15 09:30:45] ERROR[1155]: netsock2.c:541 ast_sockaddr_hash: Unknown address family ‘0’.
If I “systemctl restart asterisk”, no more errors.
I think this means something needs to start before asterisk starts. My asterisk.service has:
[Unit]
Description=Asterisk PBX and telephony daemon. After=network.target
but obviously that’s not enough. What else needs to start before asterisk ?
—