Lost connections pjsip - ASTERISK 16

Hello, I have different severs with different providers and its happen with all.

Sometimes the SIP TRUNK lost connections with provider and we received this:
“res_pjsip_outbound_registration.c: Temporal response ‘401’ received from…”

For return to work, I delete trunk and create again and trunk work normally .

auth_rejection_permanent : false
client_uri : sip:0274@xxxxxxx
contact_user : xxxxxxxx
endpoint :
expiration : 3600
fatal_retry_interval : 10
forbidden_retry_interval : 10
line : false
max_retries : 10000000
outbound_auth : auth_xxxxxx
outbound_proxy :
retry_interval : 15
server_uri : sip:xxxxx@xxxxxxx:5060
support_path : false
transport : transport-udp