<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Ballongtext Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BallongtextChar
        {mso-style-name:"Ballongtext Char";
        mso-style-priority:99;
        mso-style-link:Ballongtext;
        font-family:"Tahoma","sans-serif";}
span.E-postmall20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
p.BalloonText, li.BalloonText, div.BalloonText
        {mso-style-name:"Balloon Text";
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.E-postmall23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="SV" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D">mod_spidermonkey_odbc is not a FreeSWITCH module, it&#8217;s a spidermonkey submodule, so there is no need to put it in modules.conf. If you have ODBC installed when you run ./bootstrap.sh
 and ./configure, it will autodetect it, and build the mod_spidermonkey_odbc module. The only thing you need to do after that is to add it to spidermonkey.conf.xml.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;color:#1F497D">/Peter<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Från:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
<b>För </b>Zhenya Malyshev<br>
<b>Skickat:</b> den 25 september 2012 16:26<br>
<b>Till:</b> freeswitch-users@lists.freeswitch.org<br>
<b>Ämne:</b> [Freeswitch-users] [ERR] mod_spidermonkey.c:3439 Error loading ODBC, followed by ReferenceError: ODBC is not defined<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to resolve the issue that was discussed a few times in this user group, but by some reason recommended solutions do not work for me.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">While calling MySQL using ODBC from javascript I am getting the famous
<b>[ERR] mod_spidermonkey.c:3439 Error loading ODBC</b>, followed <b>by ReferenceError: ODBC is not defined</b><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I searched for it and found a perfect explanation by Michael J. and other group participants how to resolve it:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2008-September/006863.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2008-September/006863.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc">http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I installed <b>unixODBC</b> and found <b>
&lt;load mod_spidermonkey_odbc /&gt;</b> in <b>spidermonkey.conf.xml</b>, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">but I cannot uncomment the <b>languages/mod_spidermonkey_odbc</b> line within the
<b>modules.conf</b> file since there is no such line. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I tried to add it, but got the error while re-compiling. While browsing through this user group discussions I sometimes notice inaccuracy in<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">recommendations which are no essential for experienced users, but misleading for armatures like myself.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would greatly appreciate if someone could clarify that
<b>languages/mod_spidermonkey_odbc</b> in <b>modules.conf</b> statement.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">There is only one line referencing spidermonkey and it is
<b>languages/mod_spidermonkey</b>.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Eugene<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;">!DSPAM:5061f2c932768342020278!
<o:p></o:p></span></p>
</div>
</body>
</html>