I have Grandstream DP750 base with DP720 handset configured with aterisk PJSIP.
In wireshark I see that with every phone call asterisk forces the phone to register to SIP server before making a call.
From what I understand, the DP750 base after powering up, makes an initial register to the server and keeps a session.
pjsip show endpoints:
Endpoint: 121/121 Not in use 0 of inf
InAuth: auth121/121
Aor: 121 1
Contact: 121/sip:121@10.100.0.3:23599 8865771ce9 NonQual nan
Transport: udp-transport udp 0 0 0.0.0.0:5060
Here’s how it looks like. I make a call to extension 777. The DP750 base has an IP 10.100.0.3.
So I don’t understand why asterisk sends 401 Unauthorized message with every phone call and asks for authentication.