Hi, there are something that is using mysql instead postresql? If I modify the modules.conf, and write load => cdr_mysql.so get this error: loader.c:240 ast_load_resource: /usr/lib/asterisk/modules/cdr_mysql.so: cannot open shared object file: No such file or directory loader.c:359 load_modules: Loading module cdr_mysql.so failed! Ok, there is no cdr_mysql.so, anybody it's using * with mysql? Thanks! (o_ //\ V_/_ "hackers build things, crackers break them." http://kokey.gluch.org.mx
it is not included with the asterisk distribution. you must download it separately. asterisk_addons. -----Original Message----- From: Jorge de J. Ramirez S. [mailto:kokey@gluch.org.mx] Sent: Tuesday, March 30, 2004 2:10 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] mysql or postgresql? Hi, there are something that is using mysql instead postresql? If I modify the modules.conf, and write load => cdr_mysql.so get this error: loader.c:240 ast_load_resource: /usr/lib/asterisk/modules/cdr_mysql.so: cannot open shared object file: No such file or directory loader.c:359 load_modules: Loading module cdr_mysql.so failed! Ok, there is no cdr_mysql.so, anybody it's using * with mysql? Thanks! (o_ //\ V_/_ "hackers build things, crackers break them." http://kokey.gluch.org.mx _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
thanks for awnser, I've already download from CVS the asterisk-addons, now get this error when compiling # make install ./mkdep -fPIC -I../asterisk `ls *.c` cdr_addon_mysql.c:33:19: mysql.h: No such file or directory cdr_addon_mysql.c:34:20: errmsg.h: No such file or directory for x in ; do install -m 755 $x /usr/lib/asterisk/modules ; done /bin/sh: -c: line 1: syntax error near unexpected token `;' /bin/sh: -c: line 1: `for x in ; do install -m 755 $x /usr/lib/asterisk/modules ; done' make: *** [install] Error 2 Any idea? Thanks again. (o_ //\ V_/_ "hackers build things, crackers break them." http://kokey.gluch.org.mx
have you installed the mysql-devel package? -----Original Message----- From: Jorge de J. Ramirez S. [mailto:kokey@gluch.org.mx] Sent: Tuesday, March 30, 2004 6:11 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] RE: mysql or postgresql? thanks for awnser, I've already download from CVS the asterisk-addons, now get this error when compiling # make install ./mkdep -fPIC -I../asterisk `ls *.c` cdr_addon_mysql.c:33:19: mysql.h: No such file or directory cdr_addon_mysql.c:34:20: errmsg.h: No such file or directory for x in ; do install -m 755 $x /usr/lib/asterisk/modules ; done /bin/sh: -c: line 1: syntax error near unexpected token `;' /bin/sh: -c: line 1: `for x in ; do install -m 755 $x /usr/lib/asterisk/modules ; done' make: *** [install] Error 2 Any idea? Thanks again. (o_ //\ V_/_ "hackers build things, crackers break them." http://kokey.gluch.org.mx _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users