[Freeswitch-users] Record call in LUA
BF
bfmtl at hotmail.com
Thu Jul 12 00:06:37 MSD 2012
Hello,
I can't find how to record a call from a LUA script. DEBUG shows no error but file is not created. Snippets of my LUA script and FS console log are provide below.
api = freeswitch.API();
api:execute("record_session",call_recording_path..call_id..".mp3");
2012-07-11 15:59:59.553048 [DEBUG] switch_cpp.cpp:1227 record_session /mydir/fc157da2-cb92-11e1-b8ad-65e540468340.mp3
The "mydir" directory is in 777 privilege access mode.
Any thought anyone?
Thank you.
Bernard
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list