[asterisk-bugs] [Asterisk 0017872]: update_odbc always reports that : Key field 'ipaddr' does not exist in table ... Update will fail

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 17 13:01:41 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17872 
====================================================================== 
Reported By:                spanov
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17872
Category:                   Resources/res_config_odbc
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-16 15:04 CDT
Last Modified:              2010-08-17 13:01 CDT
====================================================================== 
Summary:                    update_odbc always reports that : Key field 'ipaddr'
does not exist in table ...  Update will fail
Description: 
I've set up reatime configuration for sippeers and sipregs via ODBC
connected to Oracle 11g. There are a lot of warning (update_odbc always
reports that : Key field 'ipaddr' does not exist in table ...  Update will
fail) in the CLI while new SIP registration.
I assume that it's case sensitive issue since actually, the column ipaddr
is updated correctly. By default Oracle return all columns in uppercase.
====================================================================== 

---------------------------------------------------------------------- 
 (0126025) tilghman (administrator) - 2010-08-17 13:01
 https://issues.asterisk.org/view.php?id=17872#c126025 
---------------------------------------------------------------------- 
I don't know how you're missing it, but the use of strcasecmp is on line
544 in res_odbc.c. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-17 13:01 tilghman       Note Added: 0126025                          
======================================================================




More information about the asterisk-bugs mailing list