I have having a hard time setting the cdr with cdr_odbc. Below is all my conf file related to it, let me know what I am doing wrong. Thank you.<br><br><b>cdr.conf</b><br>[general]<br>enable=yes<br><br>[csv]<br>usegmtime=yes ; log date/time in GMT. Default is "no"<br>
loguniqueid=yes ; log uniqueid. Default is "no"<br>loguserfield=yes ; log user field. Default is "no"<br><br><b>cdr_odbc.conf</b><u><b><br></b></u>[global]<br>dsn=MySQL-asterisk<br>loguniqueid=yes<br>
dispositionstring=yes<br>table=cdr<br>usegmtime=no<br>username=myuser<br>password=mypass<br><br><b>modules.conf</b><br>[modules]<br>autoload=yes<br>preload => res_odbc.so<br>preload => res_config_odbc.so<br>preload => func_strings.so<br>
noload => pbx_gtkconsole.so<br>load => res_musiconhold.so<br>load => cdr_odbc.so<br>noload => chan_alsa.so<br><br><b>res_odbc.conf<br></b>[ENV]<br>[asterisk]<br>enabled => yes<br>dsn => MySQL-asterisk<br>
username => myuser<br>password => mypass<br>pre-connect => yes<b><br><br>odbc.ini</b><br>[MySQL-asterisk]<br>Description = Asterisk MySQL ODBC<br>Driver = MySQL<br>Socket = /var/run/mysqld/mysqld.sock<br>
Server = localhost<br>User = myuser<br>Password = mypass<br>Database = asterisk<br>Option = 3<br>#Port = <br><br><b>odbcinst.ini<br></b>[MySQL]<br>Description = MySQL driver<br>
Driver = /usr/lib/odbc/libmyodbc.so<br>Setup = /usr/lib/odbc/libodbcmyS.so<br>FileUsage = 1<br><br><br><br>I have my table "cdr" in the asterisk database, I am using mysql and asterisk 1.6.0.3. The mysql user has all priviledges granted on host %(any)<br>
<br>Any help would be appreciated<br>