[asterisk-bugs] [Asterisk 0018692]: [patch] Compile Error - odbc_storage enabled

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Apr 1 04:08:44 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18692 
====================================================================== 
Reported By:                elguero
Assigned To:                alecdavis
====================================================================== 
Project:                    Asterisk
Issue ID:                   18692
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-3021 
Regression:                 Yes 
Reviewboard Link:           https://reviewboard.asterisk.org/r/1153/ 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 304637 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-01-27 16:44 CST
Last Modified:              2011-04-01 04:08 CDT
====================================================================== 
Summary:                    [patch] Compile Error - odbc_storage enabled
Description: 
After the changes were merged in r303679, there is a compile error with
ODBC storage enabled.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0019032 [patch] Voicemail messages (ODBC), inco...
related to          0018582 Problem reading a message which was pre...
====================================================================== 

---------------------------------------------------------------------- 
 (0133264) svnbot (reporter) - 2011-04-01 04:08
 https://issues.asterisk.org/view.php?id=18692#c133264 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 312212

_U  trunk/
U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r312212 | alecdavis | 2011-04-01 04:08:39 -0500 (Fri, 01 Apr 2011) | 43
lines

Merged revisions 312211 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r312211 | alecdavis | 2011-04-01 22:03:11 +1300 (Fri, 01 Apr 2011) | 36
lines
  
  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
https://issues.asterisk.org/view.php?id=18692,https://issues.asterisk.org/view.php?id=18582,https://issues.asterisk.org/view.php?id=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/
    ........
  ................
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-01 04:08 svnbot         Checkin                                      
2011-04-01 04:08 svnbot         Note Added: 0133264                          
======================================================================




More information about the asterisk-bugs mailing list