FreePBX Kicks All Endpoints

I don’t have much experience with PJSIP, but it seems to me like a network configuration issue.

Do you have the FreePBX firewall enabled?

Can you try setting up a phone on the same LAN of the PBX and see if the issue occurs?

EDIT: You may also want to read these two links