because your script exited and you didn't set the autoHangup to false. See mod_lua wiki page. /b On Sep 1, 2010, at 6:53 PM, Dan wrote:
Right, session.recordFile returns, its the last line in my lua|javascript script, and the dial plan has nothing left to execute so it hangs up. The question is why is session.recordFile returning when it should be blocking until the call is hung up (remotely). There is no bye or media disconnect from the far end, the record call is just returning and freeswitch is then hanging the call up and sending a bye to the far end client as there's nothing left to do. ----- Original Message ----- From: "Brian West" <brian@freeswitch.org> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, September 1, 2010 4:32:48 PM Subject: Re: [Freeswitch-users] RecordFile returns prematurely
Read this line.
/b