When configuring an extension on Asterisk we use the Syntax “insecure=very” or “insecure=port” etc. I did some research on Internet and I found that this is used to authenticate the peers, based on their IP/port. But I couldn’t understand what’s the difference between them.
The following page gives a simple explanation :
insecure=port ; Allow matching of peer by IP address without matching port number insecure = no; Normal IP-based peers matching and authentication of incoming INVITE. insecure=very ; To allow registered hosts to call without re-authenticating insecure=port,invite ; (both).
Can someone provide more details about this, or any documentation that can help.