Not sure exactly if I understand what you need, but I think you might want to install the FOP2 Manager available in the download page so you can configure fop2 buttons and trunks, for freepbx or any other compatible distro (elastix, thirdlane, vanilla/astdb, etc).
Best regards,