[Asterisk-Users] Realtime voicemail not working

Mike list at virtutel.ca
Fri Jun 23 06:45:53 MST 2006


That is what I have in my config file.  Pretty much the same thing as the
CDR file
 
[general]
dbhost=localhost
dbname=db
dbuser=user
dbpass=pw
;dbport=3306
;dbsock = /tmp/mysql.sock
 
 
Mike

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benjamin
Stocker
Sent: June 23, 2006 9:07 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Realtime voicemail not working




2006/6/23, Mike <list at virtutel.ca>: 

Hi,

I've been using MySql with the CDR for awhile with no issues at all, but I
figured I'd try putting voicemail users in a DB.  Using the same DB (very
low load), and a user that has been proven to work well using a client GUI, 
I inserted one user and tried to use realtime.  This is what I get in the
console:

ERROR[30517]: res_config_mysql.c:615 mysql_reconnect: MySQL RealTime: Failed
to connect database server asterisk on localhost. Check debug for more info.





What's in your res_mysql.conf file? You need to place the connection
settings there like you did in cdr_mysql.conf. If you still get errors,
start asterisk using the -d option and check /var/log/asterisk. Also check
logger.conf to make sure debugging is enabled.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060623/49e002c0/attachment.htm


More information about the asterisk-users mailing list