ukarim / smscsim

smpp smsc simulator
MIT License
17 stars 8 forks source link
simulator smpp smpp-server smsc

smscsim

Run tests

Lightweight, zero-dependency and stupid SMSc simulator.

Usage

1) Use prebuild docker image (from hub.docker.com)

docker run -p 2775:2775 -p 12775:12775 ukarim/smscsim

2) Build from sources (need golang compiler)

go build
./smscsim

then, just configure your smpp client to connect to localhost:2775

Features

Delivery reports (DLR)

If it was requested by _submitsm packet, delivery receipt will be returned after 2 sec with a message state always set to DELIVERED.

MO messages

Mobile originated messages (from smsc to smpp client) can be sent using special web page available at http://localhost:12775 . MO message will be delivered to the selected smpp session using a _deliversm PDU.

Warning

Env variables