[Home]

Summary:ASTERISK-04588: USE_ODBC_STORAGE broken in head
Reporter:Donny Kavanagh (donnyk)Labels:
Date Opened:2005-07-14 14:04:04Date Closed:2008-01-15 15:41:27.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When you enable USE_ODBC_STORAGE in head, some of the database connectivity is broken, it allways assumes there is 1 new and 1 old msg.  I guess its a counting issue, there have been alot of updates to app_voicemail lately so i havnt been able to pin down which one.  Suspects are 4250 and the maxmsg update.  This problem is prohibiting me from completing 4403 and having it commited.
Comments:By: Donny Kavanagh (donnyk) 2005-07-14 14:12:10

I should add, there is also another bug related to maxmsg which is a one line fix... in find_user_realtime

if (retval) {
               memset(retval, 0, sizeof(struct ast_vm_user));
--->>>          retval->maxmsg=maxmsg;
               if (!ivm)
                       ast_set_flag(retval, VM_ALLOCED);



By: Kevin P. Fleming (kpfleming) 2005-07-14 20:20:10

Both of these issues are fixed in CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:41:27.000-0600

Repository: asterisk
Revision: 6132

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r6132 | kpfleming | 2008-01-15 15:41:26 -0600 (Tue, 15 Jan 2008) | 2 lines

restore count_messages for ODBC storage to proper behavior (bug ASTERISK-4588)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=6132