[Home]

Summary:ASTERISK-15321: the value of odbcstorage is not taken into account
Reporter:cedric Boudin (ced)Labels:
Date Opened:2009-12-16 08:35:13.000-0600Date Closed:2011-06-07 14:08:11
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail/ODBC
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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.
Comments:By: Leif Madsen (lmadsen) 2009-12-17 09:02:36.000-0600

Please provide a copy of your entire voicemail.conf file.

By: cedric Boudin (ced) 2009-12-17 09:39:33.000-0600

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