Show delivery status of last message for each respondent
Closed this issue · 10 comments
Show whether the last message has been successfully delivered to each respondent, or if it has failed, and provide an option to retry. Requires implementing sending confirmation in LGW.
- Nuntium sends delivery ack when receiving QST messages (right now it's doing an
update_all
and doesn't trigger callbacks) (instedd/nuntium@af78e51) - Pollit needs to send messages to nuntium one by one instead of in bulk so it can keep the AO message id to keep track of it's status when receiving delivery acks
- Pollit stores delivery status of AO message on delivery acks
- Local gateway notifies nuntium of successful ("confirmed") sending (maybe nuntium needs to change)
- Show in pollit UI the status of each respondent
It seems when a respondent replies, the answer goes to nuntium, nuntium does a POST and pollit returns the response answer, so we don't know what's the GUID for that newly generated AO message. We need to change it so that the message is enqueued in pollit and later sent, so we can track it.
The "confirmed" status is now propagated from the local gateway to Nuntium, and from there to Pollit.
@nditada Do we also need to add this functionality to the desktop local gateway?
no, just the LGW is perfect, thanks!
Received by channel and Received by respondent were not being displayed due to a config error in Nuntium, now fixed.
Texts were renamed to Not sent → Sent to gateway → Received by gateway → Sent to respondent, and the Failed status was added.
Also, msg status will only be displayed once the poll is started, and not during its creation and configuration phase.
Fixed in 2.3-pre3
Ok in version 2.3-pre3