I have solved the problem, I have already install mysql-devel and then

# cd asterisk-addons-1.4.0
# make distclean
# ./configure
# make
# make install
# make samples

My Call Detail Records is running.





2007/1/17, Savoy, Kevin - Williston, ND <[EMAIL PROTECTED]>:

 I had the same issue. I needed to install  #yum install mysql-devel.



Once I did this the addons compiled the file fine.


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

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Pablo Almido
*Sent:* Wednesday, January 17, 2007 9:43 AM
*To:* [email protected]
*Subject:* [asterisk-users] Asterisk 1.4 and CDR



Hi guys, I have recently installed a Asterisk Server with CDR  Call Detail
Records.  I have installed it over a Asterisk 1.2 , but  now It do not run
.  I have installed it with the following procedure:



# yum install ncurses

#yum install openh323-devel
# yum install mysql-server
# yum install mysql
# yum install php-gd
# yum install php-mysql
# yum install mysqlclient10

# yum install zlib
# yum install zlib-devel
# yum install ncurses-devel

Install perl support

perl -MCPAN -e "install DBD::mysql"

 I compile /usr/src/asterisk-addons as follows:

  # ./configure
  # make clean
  # make install

 In the file  /etc/asterisk/cdr_mysql.conf

[global]
hostname=localhost
dbname=asteriskcdrdb
table=cdr
password=strongpass
user=asterisk
port=3306
userfield=1




In the File asterisk-stat

define ("WEBROOT", "http://192.168.190.10/asterisk-stat/";);
define ("FSROOT", "/var/www/html/asterisk-stat-v2/");
define ("LIBDIR", FSROOT."lib/");
define ("HOST", "localhost");
define ("PORT", "3306");
define ("USER", "asterisk");
define ("PASS", "strongpass");
define ("DBNAME", "asteriskcdrdb");
define ("DB_TYPE", "mysql"); // mysql or postgres
define ("DB_TABLENAME", "cdr");

 When I compile  asterisk-addons it pass very good, but I do not build the
file *cdr_addon_mysql.so*

Do you have similar problem ?    Thanks for your response. Excuseme for my
english, it is not my native language.



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to