Please correct me if I'm wrong...
The current version of asterisk now is 10.x Cdr_mysql is not used anymore. Now they using odbc to connect to mysql database. Why dont you try to install asterisk using source TAR.GZ ? It will make you learned where you have to do some setting... :D. Rather difficult but fun... :D From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Bruce B Sent: 18 Juni 2012 9:29 To: isr...@gmail.com; Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository Pinpointed the problem to do with Digium repository. When I do "yum install asterisk18" system installs: asterisk18.i386 1.8.7.0-2_centos5 asterisk-current After, when I do "yum update asterisk18-*" then the asterisk18-core updates: asterisk18.i386 1.8.13.0-1_centos5 I don't know if this is a bug in Digium repository or what but 1.8.7.0-2 should NOT show as "asterisk-current". Problem is that upon update, not all packages update. So, when trying to do "module load cdr_mysql" this error prints: loader.c: Module 'cdr_mysql.so' was not compiled with the same compile-time options as this version of Asterisk. loader.c: Module 'cdr_mysql.so' will not be initialized as it may cause instability. loader.c: Module 'cdr_mysql' could not be loaded. I tried download .rpm files of asterisk18-addons.rpm, asterisk18-addons-core.rpm, and asterisk18-mysql.rpm but the asterisk18-mysql.rpm fails due to dependencies upon install. So, this seems a bit complicated but it's probably an easy fix if Digium updates the system to use all REAL "current" version at first install instead of needing to update right after fresh install. Any thoughts? Thanks On Sun, Jun 17, 2012 at 9:34 PM, Bruce B <bruceb...@gmail.com> wrote: Yes, asterisk18-addons and asterisk18-addons-mysql are installed. The file cdr_mysql.so exists and I added it to modules.conf with "load => cdr_mysql.so". But the module doesn't show loaded when I do "module show like cdr". Seems like some config is missing. Which file is responsible for this type of config. Thanks On Sat, Jun 16, 2012 at 4:35 PM, <isr...@gmail.com> wrote: Did you install the addons Yum install asterisk18-addons-mysql -----Original Message----- From: Duncan Turnbull <dun...@e-simple.co.nz> Sender: asterisk-users-boun...@lists.digium.com Date: Sun, 17 Jun 2012 08:30:00 To: Asterisk Users Mailing List - Non-Commercial Discussion<asterisk-users@lists.digium.com> Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users@lists.digium.com> Subject: Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users