https://github.com/srl295/freepbx-pushover-smsbridge
A bridge between FreePBX SMS and Pushover
https://github.com/srl295/freepbx-pushover-smsbridge
freepbx pushover-notifications sms
Last synced: about 1 month ago
JSON representation
A bridge between FreePBX SMS and Pushover
- Host: GitHub
- URL: https://github.com/srl295/freepbx-pushover-smsbridge
- Owner: srl295
- License: apache-2.0
- Created: 2022-09-07T15:26:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T21:52:02.000Z (almost 4 years ago)
- Last Synced: 2026-01-22T08:28:55.765Z (7 months ago)
- Topics: freepbx, pushover-notifications, sms
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# freepbx-pushover-smsbridge
A bridge between [FreePBX SMS](https://freepbx.org) and Pushover
[](https://badge.fury.io/js/@codehivetx%2Ffreepbx-pushover-smsbridge)
## Setup
1. Create a Pushover account
2. Set up the [SMS Webhook](https://wiki.freepbx.org/display/FPG/SMS+Webhook) to be something such as ( see 'port' setting below.) I recommend running this as localhost only. Set the webhook to 'receive'.
3. Create the file `config.json`. ("//" entries are comments.)
```json
{
"port": 21439,
"routing": {
"default": {
"user": ""
},
"12125551212": {
"user": ""
},
"18185551212": {
"user": ""
}
},
"PUSHOVER_USER": "",
"PUSHOVER_TOKEN": "…"
}
```
If `PUSHOVER_TOKEN` is not set, they will be pulled from the environment. See [pushover-notifications](https://www.npmjs.com/package/pushover-notifications)
## Routing
Update the 'routing' part of config.json to custom route messages.
## Sample input from Sipstation
```json
{ "to": "18185551212",
"from": "12125551212",
"adaptor": "Sipstation",
"time": "Wed, 31 Dec 1969 18:00:00 -0600",
"message": "Hello, world!",
"eventDirection": "in" }
```
## License
[Apache-2.0](./LICENSE)
Note: We can’t be responsible for any results from use or misuse of this alpha level software.
Please check everything carefully and review the code.
## Author
[Steven R. Loomis @srl295](https://github.com/srl295) of [@codehivetx](https://github.com/codehivetx)