hi hassan <div>dns name is fs_connect, where i hould put that parameter?</div><div><br></div><div><br></div><div>regards</div><div><br></div><div>budi<br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 2:25 PM, Nyamul Hassan <span dir="ltr"><<a href="mailto:mnhassan@usa.net">mnhassan@usa.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">As per the debug logs, the name of the dsn is missing a "n" inside FreeSWITCH.<br>
<br>
Regards<br>
HASSAN<br>
<div><div></div><div class="h5"><br>
<br>
On 2010-10-20, budi wibowo <<a href="mailto:bwibowo@gmail.com">bwibowo@gmail.com</a>> wrote:<br>
> dear all<br>
><br>
> i install mod_nibblebil on centos 5.5 according to steps in<br>
> <a href="http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core" target="_blank">http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core</a><br>
><br>
> odbc.ini config:<br>
> [fs_connect]<br>
> Driver = mySQL<br>
> SERVER = localhost<br>
> PORT = 3306<br>
> DATABASE = fs<br>
> OPTION = 67108864<br>
> Socket = /var/lib/mysql/mysql.sock<br>
><br>
> switch.conf.xml i add this<br>
><br>
> <param name="odbc-dsn" value="fs_connect:root:rootpass" /><br>
><br>
> if i execute isql fs_connect root rootpass it's the result<br>
> +---------------------------------------+<br>
> | Connected! |<br>
> | |<br>
> | sql-statement |<br>
> | help [tablename] |<br>
> | quit |<br>
> | |<br>
> +---------------------------------------+<br>
> SQL><br>
><br>
><br>
> but i found this error, where's my mistake ?<br>
><br>
> i 2010-10-20 07:20:39.411254 [CRIT] switch_odbc.c:210 The sql server is not<br>
> responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR: [unixODBC][Driver<br>
> Manager]Connnection does not exist<br>
> ][169]<br>
> 2010-10-20 07:20:39.411254 [CRIT] switch_odbc.c:218 The connection could not<br>
> be re-established<br>
> 2010-10-20 07:20:40.412241 [ERR] switch_odbc.c:318 STATE: IM002 CODE 0<br>
> ERROR: [unixODBC][Driver Manager]Data source name not found, and no default<br>
> driver specified<br>
><br>
> 2010-10-20 07:20:40.412241 [CRIT] switch_odbc.c:210 The sql server is not<br>
> responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR: [unixODBC][Driver<br>
> Manager]Connnection does not exist<br>
> ][169]<br>
> 2010-10-20 07:20:40.412241 [CRIT] switch_odbc.c:218 The connection could not<br>
> be re-established<br>
> 2010-10-20 07:20:41.412257 [ERR] switch_odbc.c:318 STATE: IM002 CODE 0<br>
> ERROR: [unixODBC][Driver Manager]Data source name not found, and no default<br>
> driver specified<br>
><br>
> 2010-10-20 07:20:41.412257 [CRIT] switch_odbc.c:210 The sql server is not<br>
> responding for DSN fs_conect [STATE: 08003 CODE 0 ERROR: [unixODBC][Driver<br>
> Manager]Connnection does not exist<br>
><br>
><br>
><br>
> regards<br>
><br>
> budi<br>
><br>
<br>
</div></div>--<br>
Sent from my mobile device<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>