[asterisk-users] realtime voicemail asterisk 11

troxlinux xserverlinux at gmail.com
Mon Oct 14 14:15:45 CDT 2013


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 <wcselby at selbytech.com>

> On Mon, Oct 14, 2013 at 12:19 PM, troxlinux <xserverlinux at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131014/e01e2dba/attachment.html>


More information about the asterisk-users mailing list