I want to config tls so I opened the sip.conf and entered / before I generated the certificates
tlsenable=yes
tlsbindaddr=0.0.0.0:5061
tlscertfile=/home/pi/certs/raspberrypi.pem
tlscafile=/home/pi/ca/InnovateAsterisk-Root-CA.crt
then I restart asterisk service
I can’t find the port 5061,
What I’m doing wrong??
root@raspberrypi:/home/pi# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 693/sshd
tcp 0 0 0.0.0.0:4443 0.0.0.0:* LISTEN 1303/asterisk
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 715/smbd
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 715/smbd
tcp6 0 0 :::22 :::* LISTEN 693/sshd
tcp6 0 0 :::445 :::* LISTEN 715/smbd
tcp6 0 0 :::139 :::* LISTEN 715/smbd
udp 0 0 0.0.0.0:68 0.0.0.0:* 556/dhclient
udp 0 0 0.0.0.0:68 0.0.0.0:* 302/dhclient
udp 0 0 0.0.0.0:45687 0.0.0.0:* 1303/asterisk
udp 0 0 10.0.0.255:137 0.0.0.0:* 687/nmbd
udp 0 0 10.0.0.16:137 0.0.0.0:* 687/nmbd
udp 0 0 192.168.0.255:137 0.0.0.0:* 687/nmbd
udp 0 0 192.168.0.1:137 0.0.0.0:* 687/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:* 687/nmbd
udp 0 0 10.0.0.255:138 0.0.0.0:* 687/nmbd
udp 0 0 10.0.0.16:138 0.0.0.0:* 687/nmbd
udp 0 0 192.168.0.255:138 0.0.0.0:* 687/nmbd
udp 0 0 192.168.0.1:138 0.0.0.0:* 687/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:* 687/nmbd
udp 0 0 0.0.0.0:5353 0.0.0.0:* 309/avahi-daemon: r
udp 0 0 0.0.0.0:39244 0.0.0.0:* 309/avahi-daemon: r
udp 0 0 0.0.0.0:5060 0.0.0.0:* 1303/asterisk
udp6 0 0 :::5353 :::* 309/avahi-daemon: r
udp6 0 0 :::57680 :::* 1303/asterisk
udp6 0 0 :::52595 :::* 309/avahi-daemon: r
