Sweet thanks, I am using endpoint manager in the FreePBX distro and mine is a little different and so far I have not gotten it to work yet. Below is what I have. I have tried moving this line around but no luck so far, will keep trying.
<device>
<device.auth device.auth.localUserPassword="">
<device.auth.localUserPassword device.auth.localUserPassword.set="0">
</device.auth.localUserPassword>
<device device.set="1" device.auth device.auth.localAdminPassword="12345" device.auth.localAdminPassword.set="1" />
</device.auth>
<device.em device.em.power="">
<device.em.power device.em.power.set="0">
</device.em.power>
</device.em>
</device>