settings in presence.js are not there anymore for FOP 2.30 and higher (and you do not want to put them back either)., you should left them to be configured via FOP2 Manager now.
Best regards,
Seems like FOP2 was not correctly installed. But it is hard to tell... How did you install FOP2? Using the instructions found on www.fop2.com/docs ? Do you use any kind of Asterisk distribution (elastix/freepbx/etc)?