instedd / verboice

Open source toolkit for voice services; with special focus to the needs of medium- and low-income countries, scalable services, and interacting with vulnerable populations
http://verboice.instedd.org/
GNU General Public License v3.0
44 stars 18 forks source link

Fix #780: don't crash if a queued call flow is invalid #798

Closed ggiraldez closed 7 years ago

ggiraldez commented 7 years ago

Improve handling of an invalid flow in a queued call, catching exceptions and yielding an undefined flow to be later handled appropriately. Previously, twiml:parse/1 would crash terminating the channel_queue process. This would lead to outstanding queued calls in the database and inability to continue processing any other queued calls in the channel.