Summary:ASTERISK-09610: Voicemail greeting accepts automatically
Reporter:Sam Pendergrass (spendergrasss)Labels:
Date Opened:2007-06-06 13:47:00Date Closed:2007-06-07 15:11:05
Versions:Frequency of
Environment:Attachments:( 0) app_voicemail-9904-060607-1530.diff
( 1) app_voicemail-9904-060607-1530-1.4.diff
Description:One of our users did not push the # key after setting his voicemail greeting and just hung up.  Asterisk recorded for quite a while obviously.  Asterisk then automatically accepted the greeting all by itself.
Comments:By: Jason Parker (jparker) 2007-06-06 14:23:59

Looking at fixing this exposes another set of associated problems.

As it is right now, this bug doesn't apply to odbc/imap storage, since it never STORE()s the file - the file is only on disk.

If we fix this the "easy way", the old greeting would get deleted, even if they didn't intend to.  We would have to change it to record the various greetings to a temp file (or set of files, depending on codecs) first, then if it was successful, rename the file(s), and then STORE() them or delete them (depending on whether the user hit '1' or hung up)

By: Jason Parker (jparker) 2007-06-06 15:48:28

I've uploaded 2 patches.  The first is for 1.2, and the other is for 1.4.  Could you please try one of them, and let me know if that seems correct?

By: Jason Parker (jparker) 2007-06-07 15:11:05

Fixed in svn branches 1.2, 1.4, and trunk in revisions 68204, 68211, and 68220.