[Spce-user] Voicemail troubles 2.7 fresh install

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Jan 2 06:02:09 EST 2013


Hi Dave,

you are right; there was a problem with asterisk ODBC credentials.
Please run 'apt-get update; apt-get upgrade && ngcpcfg apply' to fix it.

Thank for the report.

On 12/31/2012 04:24 AM, Dave Massey wrote:
> I was having trouble with voicemail in 2.7 after upgrade from 2.6 so I installed a test very basic config 2.7 install in a VM  and got the same results.  
> 
>   It works OK if I dial 2000, asterisk answers. But it doesnt seem to authenticate the user.?  It just asks for mailbox right away instead of asking for password. 
> 
> I get the following in the log.
> 
> Dec 30 22:15:24 sip asterisk[2166]: NOTICE[4239]: res_odbc.c:537 in odbc_obj_connect: Connecting asterisk
> Dec 30 22:15:24 sip asterisk[2166]: WARNING[4239]: res_odbc.c:562 in odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=1045 [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'asterisk'@'localhost' (using password: YE
> Dec 30 22:15:24 sip asterisk[2166]: WARNING[4239]: res_odbc.c:467 in ast_odbc_request_obj: Failed to connect to asterisk
> Dec 30 22:15:24 sip asterisk[2166]: ERROR[4239]: res_config_odbc.c:130 in realtime_odbc: No database handle available with the name of 'asterisk' (check res_odbc.conf)
> Dec 30 22:15:26 sip asterisk[2166]: WARNING[4239]: app_voicemail.c:7189 in vm_authenticate: Couldn't read username
> 
> 
> Also if I dial into a customer with voicemail enabled and it forwards to voicebox, it terminates the call and I get the following similar error:
> 
> Dec 30 22:18:08 sip asterisk[2166]: NOTICE[5205]: res_odbc.c:537 in odbc_obj_connect: Connecting asterisk
> Dec 30 22:18:08 sip asterisk[2166]: WARNING[5205]: res_odbc.c:562 in odbc_obj_connect: res_odbc: Error SQLConnect=-1 errno=1045 [unixODBC][MySQL][ODBC 5.1 Driver]Access denied for user 'asterisk'@'localhost' (using password: YE
> Dec 30 22:18:08 sip asterisk[2166]: WARNING[5205]: res_odbc.c:467 in ast_odbc_request_obj: Failed to connect to asterisk
> Dec 30 22:18:08 sip asterisk[2166]: ERROR[5205]: res_config_odbc.c:130 in realtime_odbc: No database handle available with the name of 'asterisk' (check res_odbc.conf)
> Dec 30 22:18:08 sip asterisk[2166]: WARNING[5205]: app_voicemail.c:3972 in leave_voicemail: No entry in voicemail config file for '12893230679'
> 
> Mysql Problem I guess just not sure where to look.  I havent set any passwords on anything. 
> 
> 
> This is a basic install with one subscriber, and one peer.   No funny stuff.
> Any ideas?
> 
> 
> 
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
> 





More information about the Spce-user mailing list