Skip to main content

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

  1. Update setup.py with the version number

  2. Update CHANGES.md with release notes

  3. Create a new release and tag on GitHub. A publish Github Actions workflow is configured to run on tag creation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

smpp_gateway-1.4.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

smpp_gateway-1.4.0-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file smpp_gateway-1.4.0.tar.gz.

File metadata

  • Download URL: smpp_gateway-1.4.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for smpp_gateway-1.4.0.tar.gz
Algorithm Hash digest
SHA256 8cc9d1f01fc5a9726ef2034d8071fba622e065c75637dc232bdc683bb368a9de
MD5 0e647141873fde681cb193176f839902
BLAKE2b-256 c1a178b5647af74517731f6ce11ad8bec90db7a5fb1c42a2ab91dc9942f7bb24

See more details on using hashes here.

File details

Details for the file smpp_gateway-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: smpp_gateway-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for smpp_gateway-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e87e1f419b3201c2ae3fc8817d1842d7b6fc4f9a0d2910ff9b3f108e2dd21d71
MD5 10f80f1b0e40192b16a1979d2a0abe73
BLAKE2b-256 eb2a08a99b7f9ce405c025ba6c5b5babff38682c4cc38efe15a64a5834b7c7ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page