PIONEERS Outbound SMS FreePBX Module

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
20,409
Reaction score
6,124
We've had so much fun dusting off our old Raspberry Pi devices, we decided to tackle building an actual FreePBX module to handle outbound SMS Messaging for Incredible PBX 2026 as well as the RasPi platform.

1789478663624.png
Prerequisites:

1. Incredible PBX 2026 platform or Incredible 2027 platform with new PJsip (not existing SIP) trunk named VoIPms-Registered.
2. A voip.ms account with at least one DID configured to support SMS. Please use our signup link which helps fund our dozen honeypots that protect Incredible PBX platforms.
3. A PJsip trunk enabled on your Incredible PBX 2026 platform for voip.ms. Required: Use the default VoIPms-Registered trunk provided with the iPBX 2027 distro or roll your own PJsip trunk on iPBX 2027 and name it VoIPms-Registered.
4. A default Outbound Route using your VoIPms-Registered Trunk
5. If you've experimented with Raspberry Pi SMS setup, delete [sms-outbound] context from extensions_custom.conf

Installation:

Code:
cd /tmp
wget https://filedn.com/lBgbGypMOdDm8PWOoOiBR7j/IncrediblePBX2026/sms-outbound.txt
cat sms-outbound.txt >> /etc/asterisk/extensions_custom.conf
asterisk -rx "dialplan reload"
fwconsole ma downloadinstall https://filedn.com/lBgbGypMOdDm8PWOoOiBR7j/IncrediblePBX2026/smsrouting-1.1.16.tar.gz
fwconsole reload
/root/sig-fix
/root/sig-fix

Operation:

1. From the FreePBX GUI, choose Connectivity -> VoIP.ms SMS
2. In Trunk Configuration, enter 10-digit DID and one of the VoIP.ms POPs, e.g. atlanta2.voip.ms
3. Click Save Settings and Apply Config
4. In Send Quick SMS, enter 10-digit destination number and message to deliver via SMS
5. Click Send SMS

SMS messages sent through VoIP.ms are $0.0075 each. Licensed for use pursuant to GPLv2+.
 
Last edited:
@Samot: Your constructive comments are always welcomed. But the endless drivel about what you perceive to be the unreliability of SMS messaging is tedious, and that's being kind. Take a break and go pester the nice folks on the FreePBX forum.
 
TIP: Should you ever need to change the name of the voip.ms PJsip trunk, you'll need to change VoIPms-Registered in both
(1) the [sms-outbound] context in /etc/asterisk/extensions_custom.conf and also
(2) in /var/www/html/admin/modules/smsrouting/Smsrouting.class.php
Then:
Code:
asterisk -rx "dialplan reload"
chown -R asterisk:asterisk /var/www/html/admin/modules/smsrouting
fwconsole reload
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top