SIP/SMS with FreePBX
From VoIP.ms Wiki
This page will detail the basic configuration required in order to send and receive SMS messages through FreePBX
The information in this page is based on the newer Chan_PJSIP channel driver. This is because the older Chan_SIP driver does not correctly implement authentication for SIP messaging, which is mandatory with VoIP.ms servers for security reasons. We therefore assume that you are able to make and receive phone calls through your FreePBX system, using a PJSIP based trunk and extension.