Freepbx 14 trunk settings from older freepbx

Your old settings were for the older sip channel driver, chansip. Your are using the new pjsip driver, for which the settings are quite different and would somewhat be different for each provider as well.
E.g. the concept of type=friend, peer, etc., is no longer present in pjsip.

What is your voice service provider?
Here is a thread that might be useful: