instedd / surveda

InSTEDD Surveda
https://instedd.org/technologies/surveda-mobile-surveys/
GNU General Public License v3.0
17 stars 6 forks source link

Verify cancelling messages (stop survey) #2277

Closed ysbaddaden closed 1 year ago

ysbaddaden commented 1 year ago

There may be an issue in the channel broker when it handles :cancel_message. It assumes the contact has been activated (the call or text message has been queued to verboice/nuntium, and we have a verboice-call-id or a x-nuntium-token), then tries to deactivate the contact or remove it from the queue.

That may lead to spamming verboice/nuntium with requests to cancel unknown contacts. To be verified.

ysbaddaden commented 1 year ago

Not an issue. Stopping a survey will try to cancel messages, which will dequeue the contacts from the channel broker or cancel the contacts on the remote channel.