SIP/SMS with FreePBX
From VoIP.ms Wiki
| [draft revision] | [draft revision] |
| Line 1: | Line 1: | ||
| - | |||
== Introduction == | == Introduction == | ||
| Line 11: | Line 10: | ||
You will find that the information in this page is geared towards implementing SIP messaging and has little mention of SMS. That's because sending an SMS from SIP, using the VoIP.ms gateway, starts as a SIP message where the source and destination are identifiable as SMS capable phone numbers. The VoIP.ms SIP/SMS gateway does all the rest. | You will find that the information in this page is geared towards implementing SIP messaging and has little mention of SMS. That's because sending an SMS from SIP, using the VoIP.ms gateway, starts as a SIP message where the source and destination are identifiable as SMS capable phone numbers. The VoIP.ms SIP/SMS gateway does all the rest. | ||
| + | |||
| + | == Setting the messaging context == | ||
| + | |||
| + | The first step in implementing SIP messaging is setting the contexts for inbound and outbound messaging in the FreePBX dial-plan. | ||
Revision as of 16:39, 16 July 2019
Introduction
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. The current version of FreePBX supports using both SIP channel drivers side by side without any issue. We therefore assume the following:
- You have configured your FreePBX so that it has a PJSIP trunk that is registering with one of the VoIP.ms POPs (Point of Presence).
- You have added a PJSIP Extension to your FreePBX configuration, with appropriate routes for sending and receiving phone calls.
- You have a soft-phone that is configured for registering with the above FreePBX extension, for making and receiving phone calls. This soft-phone also has the ability to send and receive SIP text messages.
You will find that the information in this page is geared towards implementing SIP messaging and has little mention of SMS. That's because sending an SMS from SIP, using the VoIP.ms gateway, starts as a SIP message where the source and destination are identifiable as SMS capable phone numbers. The VoIP.ms SIP/SMS gateway does all the rest.
Setting the messaging context
The first step in implementing SIP messaging is setting the contexts for inbound and outbound messaging in the FreePBX dial-plan.