Nobody replied to this in the last 3 weeks, I hope you have found your answer.  I was stumped on this issue too, and fixed it following the wiki.<div><br></div><div>The basic test that I ran before anything was:</div><div>

isql &lt;dsn name&gt; &lt;user&gt; &lt;pass&gt;</div><div><br></div><div>It was failing at first, then I tracked the error to incorrect &quot;Database&quot; in my &quot;dsn&quot; section of the &quot;odbc.ini&quot;.</div>

<div><br></div><div>The &quot;isql&quot; command helped in troubleshooting the basic operation of ODBC outside of Freeswitch.</div><div><br></div><div>Hope you have resolved it by now.</div><div><br></div><div>Regards</div>

<div>HASSAN</div><div><br><br><div class="gmail_quote">On Sat, Jul 17, 2010 at 00:04, Jerry Richards <span dir="ltr">&lt;<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
I&#39;m having trouble getting mod_easyroute to work with odbc postgresql.<br>
Please see the error I am getting below.  Is there someone who has done this<br>
and could tell me what I&#39;m doing wrong?<br>
<br>
Here is the error I&#39;m getting:<br>
[ERR] switch_odbc.c:313 STATE IM002 CODE 0 ERROR: [unixODBC][Driver<br>
Manager]Data source name not found, and no default driver specified<br>
[CRIT] mod_easyroute.c:147 Cannot Open ODBC Database!<br>
<br>
Here is my conf/autoload_configs/easyroute_conf.xml content:<br>
    &lt;param name=&quot;db-username&quot; value=&quot;postgres&quot;/&gt;<br>
    &lt;param name=&quot;db-password&quot; value=&quot;password&quot;/&gt;<br>
    &lt;param name=&quot;db-dsn&quot; value=&quot;ez:postgres:password&quot;/&gt;<br>
<br>
Here is my odbc.ini content:<br>
[ez]<br>
Description      = PostgreSQL Unicode<br>
Driver           = PostgreSQL Unicode<br>
Trace            = No<br>
TraceFile        = /home/TeoUser/db/psqlodbc.log<br>
Database         = ez<br>
Servername       = 127.0.0.1<br>
UserName         = postgres<br>
Password         = password<br>
Port             = 5432<br>
ReadOnly         = Yes<br>
RowVersioning    = No<br>
ShowSystemTables = No<br>
ShowOidColumn    = No<br>
FakeOidIndex     = No<br>
ConnSettings     =<br>
<br>
Here is my odbcinst.ini file content:<br>
[PostgreSQL]<br>
Description     = ODBC for PostgreSQL<br>
Driver          = /usr/lib/libodbcpsql.so<br>
Setup           = /usr/lib/libodbcpsqlS.so<br>
FileUsage       = 1<br>
<br>
Thanks And Best Regards,<br>
Jerry<br>
<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>