<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 14, 2013 at 12:19 PM, troxlinux <span dir="ltr"><<a href="mailto:xserverlinux@gmail.com" target="_blank">xserverlinux@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">res_config_mysql<br><div><br>[general]<br>dbhost = 127.0.0.1<br>dbname = asterisk<br>
dbuser = root<br>dbpass = xxxxx<br>dbport = 3306<br>dbsock = /var/lib/mysql/mysql.sock<br><br>extconfig.conf <br>voicemail=> mysql,asterisk,voicemail_messages<br></div></div></blockquote></div><br><br></div><div class="gmail_extra">
First issue I see - you've got the context named [general] in res_config_mysql, but you're attempting to connect to asterisk in extconfig.conf (mysql,<b>asterisk</b>,voicemail_messages). The second item in extconfig.conf should match the database context name in res_config_mysql. So either fix res_config_mysql by changing [general] to [asterisk], or fix extconfig.conf by changing the line to "voicemail => mysql,general,voicemail_messages". <br>
<br></div><div class="gmail_extra">Make whichever change you prefer (I would make the change in res_config_mysql.conf personally, but it's up to you), and then reload asterisk to see if that resolves the error. Otherwise, post whatever you're new error is.<br>
</div><div class="gmail_extra"><br><br clear="all"><div><div dir="ltr">--<br>Thanks,<br>Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.SelbyTech.com</a><br></div></div>
</div></div>