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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e575283975c5a8ba8591477f4b9c092598835b12cea61401bfcc22f152be7186 |
|
MD5 | c9826759b2db496479b000bbdf444bef |
|
BLAKE2b-256 | e27169a088034e55b7e38dc808abda4adfb1a92a1631c6b7417f253307e637cf |
Hashes for seed_message_sender-0.9.26-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40d7b8dbd09644aa86763e095fdae12fa93607cd872a04656d8f534ff827fd6 |
|
MD5 | a81f41f69e94897aa515a1989d90a889 |
|
BLAKE2b-256 | 50472a414652d8c22f49c9fa672e49c372a376b1fab62495d2cf29d0c1dfa956 |