<div dir="ltr"><div>Bump.</div>Anyone seen this error before?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 12, 2014 at 10:29 PM, Peter Villeneuve <span dir="ltr"><<a href="mailto:petervnv1@gmail.com" target="_blank">petervnv1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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" target="_blank">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" target="_blank">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>
</blockquote></div><br></div>