[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:44:39 CST 2009


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-16 08:35 CST
Last Modified:              2009-12-17 09:44 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-17 09:44 lmadsen        Status                   feedback => closed  
======================================================================




More information about the asterisk-bugs mailing list