Weird. I just tried with 127.0.0.1 instead of
localhost and it worked. Can't explain why
How can I force it to go through a db socket
instead?
Mike
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>:
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.
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users