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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/c2c9417f/attachment.htm
I had the same issue. I needed to install #yum install mysql-devel. Once I did this the addons compiled the file fine. ________________________________ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Pablo Almido Sent: Wednesday, January 17, 2007 9:43 AM To: asterisk-users@lists.digium.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/32bd0ca4/attachment.htm
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 <ksavoy@novo1.com>:> > I had the same issue. I needed to install #yum install mysql-devel. > > > > Once I did this the addons compiled the file fine. > > > ------------------------------ > > *From:* asterisk-users-bounces@lists.digium.com [mailto: > asterisk-users-bounces@lists.digium.com] *On Behalf Of *Pablo Almido > *Sent:* Wednesday, January 17, 2007 9:43 AM > *To:* asterisk-users@lists.digium.com > *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 > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/20148756/attachment.htm
I have the same problem. Please reply to the list if you figure it out. I'll do the same. _____ From: Pablo Almido [mailto:almidoster@gmail.com] Sent: Wednesday, January 17, 2007 9:43 AM To: asterisk-users@lists.digium.com 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070117/55fe256c/attachment.htm