FREEPBX-7117 - whitelist functions that the api handler can call
fix spacing from commit referencing FREEPBX-7117