Editing EPM basefile Cisco phone

I have a Cisco 8945 working perfectly in FreePBX Official district version 14. I installed the EPM commercial module. The issue is that I have to manually edit the cnf.xml file for the phones. The moment I try to use the cnf.xml created by the EPM the phone freezes. I have edited the basefile trying to mimic my configuration file but still, does not work. Does anyone know what I might be doing wrong? Any help is appreciated.