I am trying to configure TLS in my asterisk server to use it with my grandstream phone.
I generated the keys and added the correct configuration in sip.conf file. I followed several tutorials and made sure that tlsenable=yes and transport=tls.
However, I don’t even receive the handshake when I sniff the packets , the account is not registered and when i tried to do core show peer in Asterisk CLI I receive: Prim.Transp. : UDP Allowed.Trsp : UDP, which simply doesn’t make sense.
Here’s my configuration:
Here is the message I receive when I perform sip reload:
[Jan 6 10:08:10] WARNING: chan_sip.c:30601 build_peer: ‘tls’ is not a valid transport type when tlsenable=no. If no other is specified, the defaults from general will be used.
== Parsing ‘/etc/asterisk/sip_notify.conf’: Found
Any help on what I can possibly do? or what is possibly wrong?