Asterisk source code directory on Freepbx

If you are on the FreePBX Distro you can run: yum install asterisk-devel and compile against that for modules.

Along with that you’ll need to do some PHP coding in freepbx so that it can read mssql