SMPP gateway for RapidSMS projects; based on python-smpplib.
Project description
# rapidsms-smpp-gateway
A [RapidSMS](https://rapidsms.readthedocs.io/en/latest/) SMPP gateway.
## Management commands
### smpp_client
Start an SMPP client instance:
`shell python manage.py smpp_client smppsim `
Example configuration using environment variables:
`shell export PGDATABASE=libya_elections export DATABASE_URL=postgresql://localhost/$PGDATABASE export SMPPLIB_HOST=localhost export SMPPLIB_PORT=2775 export SMPPLIB_SYSTEM_ID=smppclient1 export SMPPLIB_PASSWORD=password export SMPPLIB_SUBMIT_SM_PARAMS='{"foo": "bar"}' `
#### healthchecks.io support
An integration with healthchecks.io can be enabled by passing the –hc-uuid option or setting the HEALTHCHECKS_IO_UUID environment variables, for example:
`shell export HEALTHCHECKS_IO_UUID=c0c6... `
If enabled, the smpp_client management command will send a success ping to healthchecks.io for the configured check at most every minute from the main listen loop.
This functionality requires the [healthchecks-io](https://github.com/andrewthetechie/py-healthchecks.io) Python package.
### listen_mo_messages
Listen for mobile-originated (MO) messages:
`shell python manage.py listen_mo_messages --channel new_mo_msg `
## Publish
Update setup.py with the version number
Update CHANGES.md with release notes
Create a new release and tag on GitHub. A publish Github Actions workflow is configured to run on tag creation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for smpp_gateway-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827540d715cdb85a3d899c6d593efe26ec7de0b1074f0967b768f4cace08acd6 |
|
MD5 | e43a8b0ea7b30498b4f910a704d63fab |
|
BLAKE2b-256 | e11fc9998e1720f4370fb94b96b29c04c91d026b45ef7e26c8150cee3f6fe910 |