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


A NOTE has been added to this issue. 
====================================================================== 
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:39 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0115380) ced (reporter) - 2009-12-17 09:39
 https://issues.asterisk.org/view.php?id=16453#c115380 
---------------------------------------------------------------------- 
SH.....
The typo that kills.
As described above I had:
obcstorage=what_ever_value
and NOT
odbcstorage=what_ever_value

my deepest apologies about this.
the eternal tree forest problem.
I checked rechecked the values but oversaw the keys

shame on me
please close bug 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-17 09:39 ced            Note Added: 0115380                          
======================================================================




More information about the asterisk-bugs mailing list