https://github.com/gpproton/sms-gateway
Setup for kannel and playSMS
https://github.com/gpproton/sms-gateway
Last synced: 3 months ago
JSON representation
Setup for kannel and playSMS
- Host: GitHub
- URL: https://github.com/gpproton/sms-gateway
- Owner: gpproton
- Created: 2023-08-17T14:32:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T15:32:43.000Z (over 1 year ago)
- Last Synced: 2025-02-17T08:02:45.224Z (3 months ago)
- Language: Shell
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SMS Gateway (PlaySMS/Kannel)
## Clear & Bootstrap setup
```bash
sudo rm -rf .docker && \
cp ./kannel/kannel.sample.conf kannel.conf && \
cp .env.sample .env
```## Adjust kannel configuration
Apply necessary updates to kannel.conf and .env
```bash
docker-compose up -d --no-build
docker-compose logs -f
```Then visit address => http://localhost:8081/
## Check Bearer status
```bash
curl http://localhost:13000/cgi-bin/status?password=playsms
```## Send using SMSBox service
```bash
curl http://localhost:13131/cgi-bin/sendsms?username=playsms&password=playsms&to=234xxxxxxxxxx3&text=Hello+world
```## PlaySMS API sample
```bash
curl -v http://localhost/index.php?app=ws&u=admin&h=e81ac2b29e89a5d2573fc985691712a6&op=pv&to=234xxxxxxxxxx3&msg=test+only
```