[Asterisk-Users] Realtime voicemail not working

Adam Linford adam.linford at oralnet.co.uk
Fri Jun 23 07:48:43 MST 2006


I think you just comment out dbhost statement and leave the dbsock statement
in, and it assumes it's a localhost connection on the socket specified.

 

Cheers,

Adam

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike
Sent: 23 June 2006 14:51
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Realtime voicemail not working

 

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: 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/00c544c5/attachment.htm


More information about the asterisk-users mailing list