thnk Warren , I only see one warning message

[Oct 14 13:12:14] WARNING[2736][C-00000000]: app_voicemail.c:3768
retrieve_file: SQL Get Data error! coltitle=category
[SELECT * FROM voicemessages WHERE dir=? AND msgnum=?]





2013/10/14 Warren Selby <wcse...@selbytech.com>

> On Mon, Oct 14, 2013 at 12:19 PM, troxlinux <xserverli...@gmail.com>wrote:
>
>> res_config_mysql
>>
>> [general]
>> dbhost = 127.0.0.1
>> dbname = asterisk
>> dbuser = root
>> dbpass = xxxxx
>> dbport = 3306
>> dbsock = /var/lib/mysql/mysql.sock
>>
>> extconfig.conf
>> voicemail=> mysql,asterisk,voicemail_messages
>>
>
>
> 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,*asterisk*,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".
>
> 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.
>
>
> --
> Thanks,
> Warren Selby, dCAP
> http://www.SelbyTech.com <http://www.selbytech.com>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
rickygm

http://gnuforever.homelinux.com
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to