[asterisk-bugs] [Asterisk 0016453]: the value of odbcstorage is not taken into account

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 17 09:02:36 CST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16453 
====================================================================== 
Reported By:                ced
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16453
Category:                   Applications/app_voicemail/ODBC
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     feedback
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-16 08:35 CST
Last Modified:              2009-12-17 09:02 CST
====================================================================== 
Summary:                    the value of odbcstorage is not taken into account
Description: 
in voicemail.conf I set
obcstorage=what_ever_value
in res_odbc.conf I define
[what_ever_value]
enabled => yes
dsn => myodbc
username => asterisk
password => asterisk
pre-connect => yes
pooled=yes
Result:
app_voicemail_odbc.c:2274 inboxcount: Failed to obtain database object for
'asterisk'
I would expect if the connection did not get established:
Failed to obtain database object for 'what_ever_value'.

In the doc it is not stated that the odbcstorage must be asterisk ( or i
did not find this piece of text).

stepping through with gdb show invariably that the value expected
(class->name) is allways asterisk.

when I put asterisk in res_odbc.conf and voicemail.conf it works

version used 1.4.21.2~dfsg-3 debian lenny

I checked the revision log from trunk 1.4 from 21 upwards did not find
issues about this feature.
====================================================================== 

---------------------------------------------------------------------- 
 (0115376) lmadsen (administrator) - 2009-12-17 09:02
 https://issues.asterisk.org/view.php?id=16453#c115376 
---------------------------------------------------------------------- 
Please provide a copy of your entire voicemail.conf file. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-17 09:02 lmadsen        Note Added: 0115376                          
2009-12-17 09:02 lmadsen        Status                   new => feedback     
======================================================================




More information about the asterisk-bugs mailing list