Can anyone give me presise instructions on how to compile cdr_mysql.so? When I initially installed asterisk on the system, I didn't have mysql installed. Since then I have installed mysql, created the database and table structure for cdr_mysql and placed the appropriate settings in the cdr_mysql.conf file. However when I do a show modules at the CLI I cannot find cdr_mysql.so. I've also noticed there's no line for it in the module section along with the fact that I cannot find the file cdr_mysql.so anywhere on the system. I've read the cdr_mysql.txt file in the asterisk doc directory but it doesn't say anything regarding how to compile. Thanks in advance for any suggestions/assistance, etc. AJ
firedude@shorelinuxsolutions.com wrote:>Can anyone give me presise instructions on how to compile cdr_mysql.so? >When I initially installed asterisk on the system, I didn't have mysql >installed. Since then I have installed mysql, created the database and >table structure for cdr_mysql and placed the appropriate settings in the >cdr_mysql.conf file. However when I do a show modules at the CLI I cannot >find cdr_mysql.so. I've also noticed there's no line for it in the module >section along with the fact that I cannot find the file cdr_mysql.so >anywhere on the system. I've read the cdr_mysql.txt file in the asterisk >doc directory but it doesn't say anything regarding how to compile. >Thanks in advance for any suggestions/assistance, etc. >AJ > > >MySQL support for CDR has been moved out of the asterisk module in the CVS for licence reasons.. Using the same CVS server checkout the asterisk-addons module which is where the MySQL CDR stuff is now located.. and then run make install from there.. And if you are going to aske is the Voicemail2 MySQL supports is going to be removed, I am afraid I don't have an answer for you.. :) Later..
I just went over and grabed the asterisk-addons directory from the CVS, changed into the directory and executed a make install and got the following error: "make: ***[cdr_addon_mysql.o] Error 1" You have any suggestions about this? AJ
firedude@shorelinuxsolutions.com wrote:>I just went over and grabed the asterisk-addons directory from the CVS, >changed into the directory and executed a make install and got the >following error: > "make: ***[cdr_addon_mysql.o] Error 1" >You have any suggestions about this? >AJ > > >I just did a cvs update and recompiled it and it worked fine.. Have you got the mysql and mysql-devel packages installed? Later..
Yes I do have gzip installed on that box. Any other ideas? On Sat, 25 Oct 2003, WipeOut wrote:> firedude@shorelinuxsolutions.com wrote: > > >Yes I do have the mysql and mysql-devel packages installed. With my very > >limited knowledge of C/C++ here's what seems to be the culpret line right > >before the error: > > "/usr/bin/ld: cannot find -lz" > >Any suggestions here? > >AJ > > > > > > > > > I think thats gzip.. Have you got gzip installed? >
On Sat, 25 Oct 2003 firedude@shorelinuxsolutions.com wrote:> Can anyone give me presise instructions on how to compile cdr_mysql.so?did you get asterisk-addons ? cdr_mysql been moved there> When I initially installed asterisk on the system, I didn't have mysql > installed. Since then I have installed mysql, created the database and > table structure for cdr_mysql and placed the appropriate settings in the > cdr_mysql.conf file. However when I do a show modules at the CLI I cannot > find cdr_mysql.so. I've also noticed there's no line for it in the module > section along with the fact that I cannot find the file cdr_mysql.so > anywhere on the system. I've read the cdr_mysql.txt file in the asterisk > doc directory but it doesn't say anything regarding how to compile. > Thanks in advance for any suggestions/assistance, etc. > AJ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
You need voicemail2. John -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Uriel Carrasquilla Sent: Sunday, October 26, 2003 2:06 PM To: asterisk-users@lists.digium.com Subject: RE: [Asterisk-Users] cdr_mysql Voicemail or VoiceMail2? Can I use Asterisk with MySQL Voicemail or do I need VoiceMail2? Uriel _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003