Seed Message Sender mircoservice
Project description
Sends and receives messages between seed services and Vumi HTTP API
Channel configuration
Concurrency Limiter Fields:
concurrency_limit: A value of 0 disables concurrency limiter
message_delay: Seconds to wait before retrying a waiting message
message_timeout: Seconds until we assume a message has finished
Configuration:
JSON field containing the following data:
Generic API:
HTTP_API_URL: http://example.com/
HTTP_API_AUTH: (‘username’, ‘password’)
HTTP_API_FROM: +4321
OVERRIDE_PAYLOAD: {‘new_key’: ‘key_from_original_payload’}
STRIP_FILEPATH: True/False - True when voice files are hosted where the API is.
Original Payload:
{ "to": "+27820000000", "from": "1444", "content": "Hey, this is a message!", "channel_data": { "voice": { "speech_url": "http://sbm.com/hello.mp3" } } }
Example of OVERRIDE_PAYLOAD:
{ "to_msisdn": "to", "from_number": "from", "text": "content", "filename": "channel_data.voice.speech_url" }
Will generate this payload:
{ "to_msisdn": "+27820000000", "from_number": "1444", "text": "Hey, this is a message!", "filename": "http://sbm.com/hello.mp3" }
Junebug:
JUNEBUG_API_URL: http://example.com/
JUNEBUG_API_AUTH: (‘username’, ‘password’)
JUNEBUG_API_FROM: +4321
Vumi:
VUMI_CONVERSATION_KEY: conv-key
VUMI_ACCOUNT_KEY: account-key
VUMI_ACCOUNT_TOKEN: account-token
VUMI_API_URL: http://example.com/
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 seed-message-sender-0.9.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c4ed9bba26fb336882c979c3f696e69a0734fa4bad2710b6982fa1515f78346 |
|
MD5 | 01efac410f5c245a2bf70f81d9a16f65 |
|
BLAKE2b-256 | 9f36a76af40678d0b4d9e3b6f44eea69c04a3c905bd4ca9d2af9c51b51c11379 |
Hashes for seed_message_sender-0.9.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aef2ef6fc4651bf62ea1fe7397f33a30d47ff93ea5ea21b780667b4c4d8567b |
|
MD5 | f80a71eac8fcb5ac30b7f48f7237b67b |
|
BLAKE2b-256 | f1a080c25bbaffb4ee2d6e8e7fac1e0ec01f69930a39643d179fa7f9b393135b |