This system is end of life:
If at all possible, upgrade to FreePBX 16 and set up a pjsip trunk with 1-stage dialing.
If upgrade is not feasible, set up a chan_sip trunk with host=dynamic, also using 1-stage dialing.
If you still have trouble, post your settings for the new trunk and the HT, along with any relevant log.