<div dir="ltr">Hi,<div><br></div><div>I'm trying to use a lua script to grab voicemail PINs from Kamailio'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 "undefined symbol: lua_settop" error message doesn't seem to return anything relevant, and looking around the FS wiki <a href="https://wiki.freeswitch.org/wiki/Mod_lua">here</a> didn't help either.</div>
<div><br></div><div><div>[ERR] mod_lua.cpp:199 error loading module 'luasql.mysql' from file '/usr/lib/x86_64-linux-gnu/lua/5.1/luasql/mysql.so':</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 'require'</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>