[Asterisk-Users] Asterisk does not start when cdr_odbc ist configured

Thomas Frölich thomas.froelich at stadt-pforzheim.de
Fri Jun 18 04:00:16 MST 2004


Hi,

i want to load the cdr into oracle using unixODBC.
I'm using RH 9 2.4.20-30.9smp, unixODBC 2.2.6, easysoft odbc driver for oracle 1.3.1.

My unixODBC is working well. 
With isql i can connect to the database, do selects, inserts and so on.
I created the table cdr as described on the asterisk wiki site.

When i configure the cdr_odbc.conf with the needed values, then * does not start any more.

My cdr_odbc.conf:
[global]
dsn=oracle
username=asterisk
password=asterisk
loguniqueid=on

odbc.ini
[ORACLE]
Driver          = ORACLE
Database        = db9i
Servername      = 192.168.0.94
Port            = 1523
User            = asterisk
Password                = asterisk
METADATA_ID             = 0
ENABLE_USER_CATALOG     = 1
ENABLE_SYNONYMS         = 1

odbcinst.ini
[ORACLE]
Description             = Easysoft ODBC Oracle Driver
Driver          = /usr/local/easysoft/oracle/libesoracle.so
Setup           = /usr/local/easysoft/oracle/libesoraclesetup.so
FileUsage               = 3

When i try to set autoload=no in modules.conf and then load the module cdr_odbc.so with cli this happens:
asterisk -vvr
  == Parsing '/etc/asterisk/asterisk.conf': Found
Asterisk CVS-NHEAD-06/09/04-16:25:34, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
==========================================================
Connected to Asterisk CVS-NHEAD-06/09/04-16:25:34 currently running on ospbx1 (pid = 1033)
ospbx1*CLI> load cdr_odbc.so
ospbx1*CLI>
Disconnected from Asterisk server
Executing last minute cleanups



Any help would be appreciated.

Tom




More information about the asterisk-users mailing list