Summary: | ASTERISK-23690: Can't delete voicemail randomly | ||
Reporter: | Zacharie (zach) | Labels: | |
Date Opened: | 2014-04-30 09:30:52 | Date Closed: | 2014-05-19 12:53:49 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | 1.8.8.2 | Frequency of Occurrence | Frequent |
Related Issues: | |||
Environment: | Production | Attachments: | |
Description: | Some time when you try to delete voice messages from your phone by pressing 7 and 6 continuously, messages still show up after you disconnect and reconnect to voice mail.
This is what we can see in the log file : Exact version is 1.8.3.3 Feb 5 17:34:46] DTMF[32304] channel.c: DTMF begin '7' received on SIP/75383-000024d5 [Feb 5 17:34:46] DTMF[32304] channel.c: DTMF begin ignored '7' on SIP/75383-000024d5 [Feb 5 17:34:46] DTMF[32304] channel.c: DTMF end '7' received on SIP/75383-000024d5, duration 190 ms [Feb 5 17:34:46] DTMF[32304] channel.c: DTMF end passthrough '7' on SIP/75383-000024d5 [Feb 5 17:34:46] VERBOSE[32304] file.c: -- <SIP/75383-000024d5> Playing 'vm-deleted.gsm' (language 'fr') [Feb 5 17:34:48] VERBOSE[32304] file.c: -- <SIP/75383-000024d5> Playing 'vm-last.gsm' (language 'fr') [Feb 5 17:34:49] WARNING[32304] app_voicemail.c: No message attribute file?!! (/var/spool/asterisk/voicemail/GVMA_AGENTGROUP/56005/INBOX/msg0005.txt) [Feb 5 17:34:49] VERBOSE[32304] file.c: -- <SIP/75383-000024d5> Playing 'vm-prev.gsm' (language 'fr') [Feb 5 17:34:51] VERBOSE[32304] file.c: -- <SIP/75383-000024d5> Playing 'vm-advopts.gsm' (language 'fr') [Feb 5 17:34:53] VERBOSE[32304] file.c: -- <SIP/75383-000024d5> Playing 'vm-repeat.gsm' (language 'fr') [Feb 5 17:34:53] VERBOSE[32304] pbx.c: == Spawn extension (GVMA, 3856005, 3) exited non-zero on 'SIP/75383-000024d5' It appears to be looking for msg0005 rather than msg0027 as present in folder so I presume this is where the problem lies. Is there any known bug in my version? Thanks in advance | ||
Comments: | By: Michael L. Young (elguero) 2014-04-30 10:16:17.368-0500 1.8.3 was released in February 2011. The current version is 1.8.27. There have been a lot of bug fixes and more importantly security fixes over the 3 years. It would be highly recommended that you upgrade to the latest version. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines#AsteriskIssueGuidelines-BugReportingCheckList There have been a number of fixes to app_voicemail including problems with indexes and taking into consideration new messages that arrive while listening to voicemail. http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8-current Please update and report back. If you find there is still an issue, we would require a full debug log: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information By: Zacharie (zach) 2014-04-30 10:35:58.441-0500 Hi, Thank you for you feedback. Unfortunately I did not see anything about indexes in the latest changelog. Regards By: Michael L. Young (elguero) 2014-04-30 10:48:55.680-0500 {noformat} 2011-04-01 09:03 +0000 [r312117-312211] Alec L Davis <sivad.a@paradise.net.nz> * apps/app_voicemail.c, /: Merged revisions 312210 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r312210 | alecdavis | 2011-04-01 21:47:29 +1300 (Fri, 01 Apr 2011) | 29 lines Merged revisions 312174 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r312174 | alecdavis | 2011-04-01 21:29:49 +1300 (Fri, 01 Apr 2011) | 23 lines voicemail: get real last_message_index and count_messages, ODBC resequence change last_message_index to read the max msgnum stored in the database change count_messages to actually count the number of messages. last_message_index change: This fixed overwriting of the last message if msgnum=0 was missing. Previously every incoming message would overwrite msgnum=1. count_messages change: allows us to detect when requencing is required in opneA_mailbox. resequence enabled for ODBC storage: Assists with fixing up corrupt databases with gaps, but only when a user actively opens there mailboxes. (closes issue #18692,#18582,#19032) Reported by: elguero Patches: based on odbc_resequence_mailbox2.1.diff uploaded by elguero (license 37) Tested by: elguero, nivek, alecdavis Review: https://reviewboard.asterisk.org/r/1153/ ........ ................ * apps/app_voicemail.c, /: Merged revisions 312103 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r312103 | alecdavis | 2011-04-01 20:25:54 +1300 (Fri, 01 Apr 2011) | 22 lines Merged revisions 312070 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r312070 | alecdavis | 2011-04-01 19:46:56 +1300 (Fri, 01 Apr 2011) | 16 lines app_voicemail: close_mailbox needs to respect additional messages while mailbox is open. close_mailbox leave gaps in message sequence if messages are deleted and new messages arrive during this time, this is because the shuffle down to slot 0, only shuffles the number of pre-existing messages when mailbox is opened, ignoring new arrivals. Fix: in close_mailbox re-evaluate number of messages before the shuffle, this then includes new arrivals. Happens on filebased or ODBC storage. (issues #19032,#18582,#18692,#18998) Reported by: alecdavis,tootai,afosorio Review: https://reviewboard.asterisk.org/r/1153/ ........ ................ {noformat} By: Rusty Newton (rnewton) 2014-05-19 12:53:49.284-0500 Closing this until it can be reproduced in a current version of the branch. Please contact a bug marshal in #asterisk-bugs on irc.freenode.net when you have more information and we can look at re-opening then. |