Medical call - to two participants number with announcements and transfer

Not sure what your question is exactly, but when using ORIGINATE with FreePBX, it’s often better to use the freepbx dialplan internals with Local/xxxx@from-internal channels instead of PJSIP/xxx