Hi All, Based on the documentation<http://wiki.freeswitch.org/wiki/Mod_lua#session:recordFile>, I am executing the following in a lua script: session:recordFile(filename, 10000, 100, 5); I expect that the recording will terminate automatically after 10 seconds. But it's not, the recording stays engaged long after 10s till I either terminate with '#' or there is enough trailing silence. What's the problem? Thanks in advance, Neil
try 10 instead that value is in seconds :) -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/recordFile-max-len-not-obeyed-... Sent from the freeswitch-users mailing list archive at Nabble.com.
Thanks! I've updated the documentation to make this more obvious. -Neil On Thu, Sep 1, 2011 at 10:41 PM, Michael Collins <msc@freeswitch.org> wrote:
Good catch! I don't think he wanted a time limit of 2 hours and 46 minutes on that recording. ;) -MC
On Thu, Sep 1, 2011 at 10:02 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
try 10 instead that value is in seconds :)
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
High five for improving the documentation. -MC On Thu, Sep 1, 2011 at 6:09 PM, Neil Patel <neilp@cs.stanford.edu> wrote:
Thanks! I've updated the documentation to make this more obvious.
-Neil
On Thu, Sep 1, 2011 at 10:41 PM, Michael Collins <msc@freeswitch.org>wrote:
Good catch! I don't think he wanted a time limit of 2 hours and 46 minutes on that recording. ;) -MC
On Thu, Sep 1, 2011 at 10:02 AM, Jeff Lenk <jeff@jefflenk.com> wrote:
try 10 instead that value is in seconds :)
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Jeff Lenk
-
Michael Collins
-
Neil Patel