<div dir="ltr">Hi,<div><br></div><div>I&#39;m trying to use a lua script to grab voicemail PINs from Kamailio&#39;s db as shown <a href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc">here</a> </div><div>
<br></div><div>However, I get the following error message which is driving me nuts. Googling for the &quot;undefined symbol: lua_settop&quot; error message doesn&#39;t seem to return anything relevant, and looking around the FS wiki <a href="https://wiki.freeswitch.org/wiki/Mod_lua">here</a> didn&#39;t help either.</div>
<div><br></div><div><div>[ERR] mod_lua.cpp:199 error loading module &#39;luasql.mysql&#39; from file &#39;/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/mysql.so&#39;:</div><div>        /usr/lib/x86_64-linux-gnu/lua/5.1/luasql/mysql.so: undefined symbol: lua_settop</div>
<div>stack traceback:</div><div>        [C]: in ?</div><div>        [C]: in function &#39;require&#39;</div><div>        /usr/local/freeswitch/scripts/sqluser.lua:14: in main chunk</div><div>2014-07-12 22:21:17.470474 [ERR] mod_lua.cpp:265 LUA script parse/execute error!</div>
</div><div><br></div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks</div></div>