[asterisk-bugs] [Asterisk 0017304]: [patch] module reload cdr_odbc.so produces an error about not being able to register ODBC method with CDR.

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Jul 25 13:22:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17304 
====================================================================== 
Reported By:                jnemeth
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17304
Category:                   CDR/cdr_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
JIRA:                       SWP-1816 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-06 22:34 CDT
Last Modified:              2010-07-25 13:22 CDT
====================================================================== 
Summary:                    [patch] module reload cdr_odbc.so produces an error
about not being able to register ODBC method with CDR.
Description: 
If you edit cdr_odbc.conf and do 'module reload cdr_odbc.so' you'll get an
error complaining about not being able to register the ODBC method with the
CDR subsystem.  This is because it is already registered.  Doing a module
unload followed by a module load will work around the issue.  I have used
the viewvc tool to check the latest version of cdr_ocbc.c and the issue is
still there.
====================================================================== 

---------------------------------------------------------------------- 
 (0124988) svnbot (reporter) - 2010-07-25 13:22
 https://issues.asterisk.org/view.php?id=17304#c124988 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 279413

_U  trunk/
U   trunk/cdr/cdr_odbc.c

------------------------------------------------------------------------
r279413 | tilghman | 2010-07-25 13:22:11 -0500 (Sun, 25 Jul 2010) | 15
lines

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

........
  r279410 | tilghman | 2010-07-25 13:21:27 -0500 (Sun, 25 Jul 2010) | 8
lines
  
  Don't re-register CDR module on reload.
  
  (closes issue https://issues.asterisk.org/view.php?id=17304)
   Reported by: jnemeth
   Patches: 
         20100507__issue17304.diff.txt uploaded by tilghman (license 14)
   Tested by: jnemeth
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-25 13:22 svnbot         Checkin                                      
2010-07-25 13:22 svnbot         Note Added: 0124988                          
======================================================================




More information about the asterisk-bugs mailing list