For incoming call does not work
Asterisk always answer to the incoming Invite from 5020 with a message asking for proxy authentication required. “407 Proxy authentication required”
I have this in [General]
host=213.13.86.161
port = 5070
type=friend
insecure=very
I thing with “insecure=very” asterisk should dismiss the authentication.
When I have X-lite registered in 5020 directly without Asterisk
X-lite answer to an incoming “Invite” with “trying” instead asking the authentication.
This not happen for incoming call to Asterisk , and the calls alway fail.
Please can you give some help to solve the problem?
Insecure=very should be deprecated so try use one of this:
insecure=port ; Allow matching of peer by IP address without matching port number
or
insecure=invite ; Do not require authentication of incoming INVITEs
or
insecure=port,invite ; (both)
as in the sip.conf sample file create by “make samples” when building Asterisk.
Don’t put this lines in the [general] section but in his own section, to define correctly a friend/peer, so try put this lines in a section named [alcatel] fox example and define the context for the incoming calls with the keyword “context”.