mostly open. Here is the git repo for FusionPBX so you can see. https://github.com/fusionpbx/fusionpbx
Super easy to get off the ground. Here is the install page https://www.fusionpbx.com/download.php
We used it as a multi tenant hosted pbx back when I was working for an ISP. works really well.