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.3.0.tar.gz
.
File metadata
- Download URL: smpp_gateway-1.3.0.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7688cce0b5d14de626291b6c1d4e657ac7a508d1ba7e5c07ec51a95def8ccaef |
|
MD5 | f9a36612367dde103883f63a89bc7a07 |
|
BLAKE2b-256 | ba74d7bcd37ac7c2af3fc97d854952095bd17bf84113bd4bd81a6d38f8adc050 |
File details
Details for the file smpp_gateway-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: smpp_gateway-1.3.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab9e7e3515ccc07efa494fe682501a4ea237c1553e1aa6288df7a351621b1d9d |
|
MD5 | 8c6bd7a678d914acfab866a38af9dbfa |
|
BLAKE2b-256 | 8f1c4874317cddf67a1ec2ced5a21e1cca78c4e9105c29906317f7302aee78b5 |