Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-17 Thread Bruce B
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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-17 Thread Bruce B
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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-17 Thread Ikka Vertika
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_centos5asterisk-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
Discussionasterisk-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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-17 Thread Bruce B
This is not related to Asterisk Now but simply Asterisk as provided by
Digium repositories and documented in Asterisk Wiki. Source install is one
way to do this but that is not the issue in question.

I hope someone at Digium fixes and update the repositories to current
version.




On Sun, Jun 17, 2012 at 10:59 PM, Ikka Vertika 
ikka.vert...@mitrakreasindo.com wrote:

 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

--
_
-- 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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-17 Thread Bruce B
Seems like there are new instructions for installing from RPM repository
which seems to be working fine and updating to proper current version of
Asterisk:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Packages#AsteriskPackages-YUM%28CentOS5%2FRedHatEnterpriseLinux5%29

-Bruce







On Sun, Jun 17, 2012 at 11:13 PM, Bruce B bruceb...@gmail.com wrote:

 This is not related to Asterisk Now but simply Asterisk as provided by
 Digium repositories and documented in Asterisk Wiki. Source install is one
 way to do this but that is not the issue in question.

 I hope someone at Digium fixes and update the repositories to current
 version.




 On Sun, Jun 17, 2012 at 10:59 PM, Ikka Vertika 
 ikka.vert...@mitrakreasindo.com wrote:

 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

[asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-16 Thread Bruce B
Hello,

I have done yum install asterisk18 freepbx and it has installed Asterisk
and FreePBX just fine. However, none of the CDR get recorded in
asteriskcdrdb table in MySQL. They are available
in /var/log/asterisk/cdr-csv/Master.csv. What configuration file sets the
setting for writing these CDRs to MySQL?

Thanks
--
_
-- 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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-16 Thread Duncan Turnbull
Not sure about yum installs but in 1.8 I have had to move to using odbc as the 
method to populate the mysql database

http://www.voip-info.org/wiki/view/Asterisk+cdr+odbc

Cheers Duncan

On 17/06/2012, at 4:22 AM, Bruce B wrote:

 Hello,
 
 I have done yum install asterisk18 freepbx and it has installed Asterisk 
 and FreePBX just fine. However, none of the CDR get recorded in asteriskcdrdb 
 table in MySQL. They are available in /var/log/asterisk/cdr-csv/Master.csv. 
 What configuration file sets the setting for writing these CDRs to MySQL?
 
 Thanks
 --
 _
 -- 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

Re: [asterisk-users] CDRs do not record in asteriskcdrdb using Digium repository

2012-06-16 Thread isrlgb
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 
Discussionasterisk-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