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.2.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

smpp_gateway-1.4.2-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: smpp_gateway-1.4.2.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for smpp_gateway-1.4.2.tar.gz
Algorithm Hash digest
SHA256 bc3afba9df5c5bef2cb32c905a5ee72572b17075e174bff9130f6477cd20021c
MD5 95c1b192ef562d93bdd832e04075b1ff
BLAKE2b-256 6429f9292678790d8bd12ad11cdb9ef453af26fe78088d5482dd8f2cbd45f5b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: smpp_gateway-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for smpp_gateway-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3305a674bac3eb627504395632b61ef5234ed5c511bf605d76bfe5943e347c
MD5 45ab9b9e3812e7c7ffb97461fbe88cda
BLAKE2b-256 5640c5dd330b22700952f13a05841c4b61fa41eef3b8f9aec9dabb8be135d4ed

See more details on using hashes here.

Supported by

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