Hi, I would like to enable mysql handling of voicemail boxes ... following that tutorial http://www.voip-info.org/wiki-Asterisk+voicemail+database so I modified the makefile of /apps directory to include USE_MYSQL_VM_INTERFACE=1 and copied mysql-vm-routines.h in the /apps dir, set up the db and some boxes in the table, also edited the voicemail.conf file. Everything compiles just fine, then when I start * I have no results, "show voicemail users" --> There are no voicemail users currently defined also if I try to check against a box with "MailboxExists" it does not result created .... Any idea of what I'm getting wrong ? tnx ! -- Best regards, Alessio mailto:afoc@interconnessioni.it
Hello try to enable mysql debug: "log=/var/log/mysqlfull.log" in your /etc/my.cnf and off course reload mysql then tail -f /var/log/mysqlfull.log it will show you if your asterisk connects to the DB... if not, it's a makefile problem... re-read tutorial... PS: don't forget to try if your "full-log" works by connect by anyways to the db. (And works fine like mysql ans "show databases" command) -----Message d'origine----- De : asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com]De la part de Alessio Focardi Envoye : mardi 28 decembre 2004 10:41 A : asterisk-users@lists.digium.com Objet : [Asterisk-Users] Mysql and Voicemail Hi, I would like to enable mysql handling of voicemail boxes ... following that tutorial http://www.voip-info.org/wiki-Asterisk+voicemail+database so I modified the makefile of /apps directory to include USE_MYSQL_VM_INTERFACE=1 and copied mysql-vm-routines.h in the /apps dir, set up the db and some boxes in the table, also edited the voicemail.conf file. Everything compiles just fine, then when I start * I have no results, "show voicemail users" --> There are no voicemail users currently defined also if I try to check against a box with "MailboxExists" it does not result created .... Any idea of what I'm getting wrong ? tnx ! -- Best regards, Alessio mailto:afoc@interconnessioni.it _______________________________________________ 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
What version of Asterisk? -Matthew ----- Original Message ----- From: "Alessio Focardi" <afoc@interconnessioni.it> To: <asterisk-users@lists.digium.com> Sent: Tuesday, December 28, 2004 3:40 AM Subject: [Asterisk-Users] Mysql and Voicemail> Hi, > > I would like to enable mysql handling of voicemail boxes ... following > that tutorial > > http://www.voip-info.org/wiki-Asterisk+voicemail+database > > so I modified the makefile of /apps directory to include > > USE_MYSQL_VM_INTERFACE=1 > > and copied mysql-vm-routines.h in the /apps dir, set up the db and > some boxes in the table, also edited the voicemail.conf file. > > Everything compiles just fine, then when I start * I have no results, > > "show voicemail users" --> There are no voicemail users currently defined > > also if I try to check against a box with "MailboxExists" it does not > result created .... > > Any idea of what I'm getting wrong ? > > tnx ! > > > > > -- > Best regards, > Alessio mailto:afoc@interconnessioni.it > > _______________________________________________ > 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