DIPAK PAUL
2004-Aug-20 02:55 UTC
[Asterisk-Users] problem in with mysql modules.conf to load cdr_addon_mysql.so
Hi I have installed asterisk from cvs properly. I have try to store the billing information in the mysql database. I had used this cd /usr/src cvs checkout asterisk-addons And also copy sample configuration file to /etc/asterisk/cdr_mysql.conf & edit it according to my requirements. I had edit the modules.conf to load cdr_addon_mysql.so my cdr_mysql.conf file is like [global] hostname=localhost dbname=asteriskcdrdb password=password user=asteriskcdruser port=3306 sock=/var/lib/mysql/mysql.sock And also I had added one line in the module.conf file load => cdr_addon_mysql.so and again I make and make install in the asterisk But when I have using this command "./asterisk -vvvvc" I got an error message and stop [cdr_addon_mysql.so]Aug 20 15:18:38 WARNING[1076245120]: loader.c:242 ast_load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: cannot open shared object file: No such file or directory Aug 20 15:18:38 WARNING[1076245120]: loader.c:374 load_modules: Loading module cdr_addon_mysql.so failed! Please any body help me. Thanks in advanced. Dipak Kumar Paul _________________________________________________________________ Get the best deals. Electronics, Mobiles, Jewellery…..! http://go.msnserver.com/IN/54178.asp Click Here!
Lerale Erwan
2004-Aug-20 03:54 UTC
[Asterisk-Users] problem in with mysql modules.conf to load cdr_addon_mysql.so
On Fri, Aug 20, 2004 at 03:25:31PM +0530, DIPAK PAUL wrote:> > [cdr_addon_mysql.so]Aug 20 15:18:38 WARNING[1076245120]: loader.c:242 > ast_load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: cannot > open shared object file: No such file or directory > Aug 20 15:18:38 WARNING[1076245120]: loader.c:374 load_modules: Loading > module cdr_addon_mysql.so failed!Hello, Do you really have cdr_addon_mysql.so in /usr/lib/asterisk/modules/ ? did you run : www# make install for x in cdr_addon_mysql.so; do install -m 755 $x /usr/lib/asterisk/modules ; done www# ? Cheers r1 -- Manager Support Pro - www.claranet.fr
DIPAK PAUL
2004-Aug-20 04:32 UTC
[Asterisk-Users] Problem in with mysql modules.conf to load cdr_addon_mysql.so
Hi Lerale Erwan I have used "make install" after downloaded the asterisk and also i have used another time "make install" after using cd /usr/src cvs checkout asterisk-addons There are no cdr_addon_mysql.so file not created in the /usr/lib/asterisk/modules/ and also /usr/src/asterisk/cdr directory. The sorce directories of my machine are /usr/src/asterisk /usr/src/asterisk-addons In this directory present the files: cdr_addon_mysql.c Makefile mkdep mysql-vm-routines.h and three directory configs,CVS,doc. My previous mail is I have installed asterisk from cvs properly. I have try to store the billing information in the mysql database. I had used this cd /usr/src cvs checkout asterisk-addons And also copy sample configuration file to /etc/asterisk/cdr_mysql.conf & edit it according to my requirements. I had edit the modules.conf to load cdr_addon_mysql.so my cdr_mysql.conf file is like [global] hostname=localhost dbname=asteriskcdrdb password=password user=asteriskcdruser port=3306 sock=/var/lib/mysql/mysql.sock And also I had added one line in the module.conf file load => cdr_addon_mysql.so and again I make and make install in the asterisk But when I have using this command "./asterisk -vvvvc" I got an error message and stop [cdr_addon_mysql.so]Aug 20 15:18:38 WARNING[1076245120]: loader.c:242 ast_load_resource: /usr/lib/asterisk/modules/cdr_addon_mysql.so: cannot open shared object file: No such file or directory Aug 20 15:18:38 WARNING[1076245120]: loader.c:374 load_modules: Loading module cdr_addon_mysql.so failed! Please help me Thanks in advanced Dipak Kumar Paul _________________________________________________________________ Sports, sports and more sports! Keep up with all the action! http://www.msn.co.in/sports/ Stay connected with MSN Sports!