[Freeswitch-users] Luasql problem with latest svn build

Juan Backson juanbackson at gmail.com
Tue Sep 23 21:08:58 PDT 2008


Hi,

My lua scripts were working fine until I updated  with SVN.  I am starting
to get errors in my lua scripts that use luasql lib.

Does anyone know what may be causing the problem and how can I fix it?



2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:140
switch_core_standard_on_execute() sofia/internal/6002 at 192.168.1.101 Execute
lua(process_pstn_call.lua )
2008-09-24 20:02:20 [ERR] mod_lua.cpp:177 lua_parse_and_execute() error
loading module 'luasql.mysql' from file
'/usr/local/lib/lua/5.1/luasql/mysql.so':
        /usr/local/lib/lua/5.1/luasql/mysql.so: undefined symbol:
lua_getfield
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/local/share/lua/5.1/lualib.lua:1: in main chunk
        [C]: in function 'require'
        /usr/local/freeswitch/scripts/process_pstn_call.lua:1: in main chunk
2008-09-24 20:02:20 [DEBUG] switch_cpp.cpp:849 destroy() destroy/unlink
session from object
2008-09-24 20:02:20 [NOTICE] switch_cpp.cpp:851 destroy() Hangup
sofia/internal/6002 at 192.168.1.101 [CS_EXECUTE] [NORMAL_CLEARING]
2008-09-24 20:02:20 [DEBUG] switch_channel.c:1381
switch_channel_perform_hangup() Kill sofia/internal/6002 at 192.168.1.101[KILL]
2008-09-24 20:02:20 [DEBUG] switch_core_session.c:727
switch_core_session_signal_state_change() Kill sofia/internal/
6002 at 192.168.1.101 [BREAK]
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:430
switch_core_session_run() (sofia/internal/6002 at 192.168.1.101) State EXECUTE
going to sleep
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:365
switch_core_session_run() sofia/internal/6002 at 192.168.1.101 Running State
Change CS_HANGUP
2008-09-24 20:02:20 [DEBUG] switch_core_state_machine.c:393
switch_core_session_run() (sofia/internal/6002 at 192.168.1.101) State HANGUP
2008-09-24 20:02:20 [DEBUG] mod_sofia.c:272 sofia_on_hangup() Channel
sofia/internal/6002 at 192.168.1.101 hanging up, cause: NORMAL_CLEARING
2008-09-24 20:02:20 [DEBUG] mod_sofia.c:346 sofia_on_hangup() Responding to
INVITE with: 480
2008-09-24 20:02:20 [DEBUG] sofia.c:200 sofia_event_callback() event
[nua_i_state] status [480][Temporarily Unavailable] session: sofia/internal/
6002 at 192.168.1.101
2008-09-24 20:02:20 [ERR] switch_core_sqldb.c:131
switch_core_db_persistant_execute() SQL ERR [table sip_dialogs has no column
named profile_name]



Regards,
JB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080924/266ccfe7/attachment-0002.html 


More information about the FreeSWITCH-users mailing list