Done. Thanks, Charlie
From: [email protected] [mailto:[email protected]] On Behalf Of Michael Jerris Sent: Wednesday, August 12, 2009 2:12 AM To: [email protected] Subject: Re: [Freeswitch-users] FS 1.0.4 official core dumping LUA streamFile If your seeing a segfault, please report it to jira.freeswitch.org with a backtrace and details of how to reproduce. Mike On Aug 12, 2009, at 2:37 AM, Charles Boening wrote: Greetings, I have the following LUA script (at end of email) in a fresh FS 1.0.4 install. I originally did an upgrade from one of the 1.0.4preX versions but when I came across this issue I went fresh just to make sure there wasn't an incompatibility with my previous config. What I'm seeing is a seg fault and a core dump after playing a sound file. I originally had a file I recorded but when I ran into this issue I figured I'd try an included sound file but that doesn't seem to make a bit of difference. 2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Starting test.lua 2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Caller [XXXXXXXXXX] connected 2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Pre streamFile Segmentation fault (core dumped) Any ideas? Thanks, Charlie freeswitch.consoleLog("INFO", string.format("Starting test.lua\n")) session:answer(); session:setHangupHook("session_hangup_hook") calleridnumber = session:getVariable("caller_id_number") calleridname = session:getVariable("caller_id_name") if session:ready() then freeswitch.consoleLog("INFO", string.format("Caller [" .. calleridnumber .. "] connected\n")) freeswitch.consoleLog("INFO", string.format("Pre streamFile\n")) session:streamFile("conference/8000/conf-welcome.wav") freeswitch.consoleLog("INFO", string.format("Post streamFile.\n")) end function session_hangup_hook(status) freeswitch.consoleLog("INFO", "Session hangup: \n") --[[ .. status .. "\n") ]]-- error() end session:hangup()
_______________________________________________ FreeSWITCH-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
