/sms-gateway

Setup for kannel and playSMS

Primary LanguageShell

SMS Gateway (PlaySMS/Kannel)

Clear & Bootstrap setup

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

docker-compose up -d --no-build
docker-compose logs -f

Then visit address => http://localhost:8081/

Check Bearer status

curl http://localhost:13000/cgi-bin/status?password=playsms

Send using SMSBox service

curl http://localhost:13131/cgi-bin/sendsms?username=playsms&password=playsms&to=234xxxxxxxxxx3&text=Hello+world

PlaySMS API sample

curl -v http://localhost/index.php?app=ws&u=admin&h=e81ac2b29e89a5d2573fc985691712a6&op=pv&to=234xxxxxxxxxx3&msg=test+only