|
3 months ago | |
---|---|---|
nbproject | 3 months ago | |
.gitignore | 3 months ago | |
LICENSE.md | 3 months ago | |
README.md | 3 months ago | |
config.example.json | 3 months ago | |
main.js | 3 months ago | |
matrix-bridge-voxtelesys.service | 3 months ago | |
package-lock.json | 3 months ago | |
package.json | 3 months ago |
When someone texts your Voxtelesys DID, this script creates a Matrix room named with the sender’s number, posts their SMS in it, and invites you (the users in config.json) to the room. When someone posts a message in the room this script sends it as an SMS to the original sender. Back and forth it goes!
git clone https://source.netsyms.com/Netsyms/matrix-bridge-voxtelesys /opt/matrix-bridge-voxtelesys
cd /opt/matrix-bridge-voxtelesys
cp config.example.json config.json
nano config.json
npm install
adduser --system --no-create-home matrix-bridge-voxtelesys
cp matrix-bridge-voxtelesys.service /etc/systemd/system
systemctl enable matrix-bridge-voxtelesys
systemctl start matrix-bridge-voxtelesys
Or just run node main.js
.
When a SMS is received from a new number, a new room is created. If you need to send a message to
a new number, simply type something like !sms 14065551234
into an existing SMS room. You’ll be
invited to join a new room and will then be able to send your message.