Files
asterisk/apps
Naveen Albert 4e514419d9 app_voicemail: Fix phantom voicemail bug on rerecord
If users are able to press # for options while leaving
a message and then press 3 to rerecord the message, if
the caller hangs up during the rerecord prompt but before
Asterisk starts recording a message, then an "empty"
voicemail gets processed whereby an email gets sent out
notifying the user of a 0:00 duration message. The file
doesn't actually exist, so playback will fail since there
was no message to begin with.

This adds a check after the streaming of the rerecord
announcement to see if the caller has hung up. If so,
we bail out early so that we can clean up properly.

ASTERISK-29391 #close

Change-Id: Id965d72759a2fd3b39afb76fec08aaebebe75c31
2021-11-08 11:28:56 -06:00
..
2019-05-10 10:22:55 -06:00
2019-11-19 10:07:44 -05:00
2016-10-27 09:53:55 -04:00
2021-08-19 11:18:30 -05:00
2016-10-27 09:53:55 -04:00
2021-09-30 11:47:32 -05:00
2018-05-11 09:48:58 -04:00
2018-05-11 09:48:58 -04:00
2016-10-27 09:53:55 -04:00