System crash while reading the odbc-dsn param line from the file callcenter.conf.xml. When that line is commented the module load fully but if uncommented the system crash in that precise spot with a core dump.

<configuration name="callcenter.conf" description="CallCenter">
<settings>
<!--    <param name="odbc-dsn" value="freeswitch_odbc:user:**"/> -->
</settings>
<queues>
</queues>

config odbc.ini:

[freeswitch_odbc]

Driver=MySQL

SERVER=localhost

PORT=3306

DATABASE=freeswitch

Socket = /var/lib/mysql/mysql.sock

User=****

Password=****



config odbcinst.ini:

[MySQL]

Description = ODBC for MySQL

Driver = /usr/lib64/libmyodbc3.so

Setup = /usr/lib64/libodbcmyS.so

FileUsage = 1


I've tested this ini file with MySQL, and this configuration works fine.

Thanks in advance.
Please send us the backtrace of the core dump or some more informations why it does crash (e.g. freeswitch console output).

-----Ursprüngliche Nachricht-----
Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Ignasi Duran
Gesendet: Dienstag, 7. September 2010 09:53
An: freeswitch-users@lists.freeswitch.org
Betreff: [Freeswitch-users] load module mod_callcenter

  Hi,

I have installed freeswitch on CentOS 5 and I have compiled module 
mod_callcenter but this not load. When I try to load with console mode 
or writing the file modules.conf.xml the freeswitch returned segment 
violation (core dumped).

Somebody help me?

Thanks.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org