I installed the asterisk and configured the sip.conf and extension.conf but when I’m registering in the zoiper the I getting these logs
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.
Connected to Asterisk 11.6.0 currently running on server2 (pid = 3486)
server2CLI> logger reload
== Parsing ‘/etc/asterisk/logger.conf’: Found
Asterisk Queue Logger restarted
[Nov 11 18:07:48] NOTICE[3514]: chan_sip.c:27576 handle_request_subscribe: Failed to authenticate device "7001"sip:7001@192.168.1.160;transport=UDP;tag=1c1c5547 for SUBSCRIBE
[Nov 11 18:07:48] NOTICE[3514]: chan_sip.c:27952 handle_request_register: Registration from ‘"7001"sip:7001@192.168.1.160;transport=UDP’ failed for ‘192.168.1.11:5060’ - Wrong password
server2CLI>
sip.conf
[general]
context=internal
allowguest=no
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
disallow=all
allow=ulaw
alwaysauthreject=yes
canreinvite=no
nat=yes
session-timers=refuse
[7001]
type=friend
host=dynamic
secret=7001
context=internal
[7002]
type=friend
host=dynamic
secret=7002
context=internal
extension.conf
[internal]
exten => 7001,1,Answer()
exten => 7001,2,Dial(SIP/7001,60)
exten => 7001,3,Playback(invalid)
exten => 7001,4,Hangup()
exten => 7002,1,Answer()
exten => 7002,2,Dial(SIP/7002,60)
exten => 7002,3,Playback(invalid)
exten => 7002,4,Hangup()