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
File details
Details for the file smpp_gateway-1.2.3.tar.gz
.
File metadata
- Download URL: smpp_gateway-1.2.3.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5816cf04fb1d4c90fb815a15fdbd8722e54ddf537e8e7ba52789c780fe27ecd4 |
|
MD5 | 4b28a0bd97d0e974dc43cbab2bbfe7ec |
|
BLAKE2b-256 | b36b929f7d008727906291df2bf61e3c929af5cb79de3d322ad80c517303f653 |
File details
Details for the file smpp_gateway-1.2.3-py3-none-any.whl
.
File metadata
- Download URL: smpp_gateway-1.2.3-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d66a602888cd5c8abf7e8fda70fc3bb5889138632953b1e7577059a19fa5767f |
|
MD5 | b66dd6d1f21be17e5733304fe43082e4 |
|
BLAKE2b-256 | ff49bbf0eb3fca6fc47409c7df726461f1679e1446eadfc5141c6aafa319a348 |