The CHT Core Framework makes it faster to build responsive, offline-first digital health apps that equip health workers to provide better care in their communities. It is a central resource of the Community Health Toolkit.
Is your feature request related to a problem? Please describe.
As a trainer I want to be able to have messages from my trainees be routed to a training instance so they can use the same shortcode and aggregator without adding dummy data to the production instance.
As an app builder I want to be able to route messages to one of multiple production instances so I can have different configurations for different districts and still use the same shortcode and aggregator.
Describe the solution you'd like
A new product/service to receive WT messages and route them to the correct instance. Which route to choose could be based on which instance has the senders phone number configured (user story 2), or which user has a specific flag set (user story 1), or based on a simple phone number lookup table (user story 1), or some combination thereof.
Describe alternatives you've considered
Training could be done on a dev instance but it's difficult to correctly delete the training data afterwards, and it impacts server performance.
We could use multiple shortcodes but they're not that easy or cheap to get, and could be confusing for users.
Training could be done with a long code but not all aggregators accept them.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like A new product/service to receive WT messages and route them to the correct instance. Which route to choose could be based on which instance has the senders phone number configured (user story 2), or which user has a specific flag set (user story 1), or based on a simple phone number lookup table (user story 1), or some combination thereof.
Describe alternatives you've considered