PJSIP trunk lost connectivity

I suggest to enable pjsip logs with “pjsip set logger on” in Asterisk CLI, and then see when your server send registration request, what reply it receives?!

please see this too:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_res_pjsip_outbound_registration