I can disable this in the gui of the phone but can it be done in freepbx? I see it on the sangoma template but not yealink
Certainly, when using FreePBX endpoint manager.
Edit basefiles for your Yealink template.
Check the Yealink auto provision guide, how that setting has to look like in the config file.