[SOVLED]All exten SIP/2.0 401 Unauthorized ..,but i have new questions

https://paste.ubuntu.com/p/3qCKpnsM8r/
(because new user limit

This is my new Asterisk instance (in a OpenWRT Router) and iam a beginner of this.
I read ur wiki and some resources via google search .
now my asterisk can register to ims .but none of extensions can register

1001 (Unspecified) D Auto (No) No 0 Unmonitored
trunk_ims1/xxxxxx@ outboundip Auto (No) No 5060 Unmonitored
trunk_ims2/xxxxxx@ outboundip Auto (No) No 5060 Unmonitored
8 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 6 offline]

i read ur wiki , still failed…

referer:(ur Wiki

cat /var/log/asterisk/messages
https://paste.ubuntu.com/p/9cF2h8tBJG/

You need to configure the Huawei with the password. (secret). 401 is a normal response and it is the Huawei that is at fault by not trying to authenticate.

https://paste.ubuntu.com/p/q79dBJMmMm/

Today that i found an account has been registered by a attacker!
i restart the core and login myself…

still 401…
i use my ont.and my mobile…

why the asterisk blocked me and accept spammer…