Hi All,<div><br></div><div>Based on the <a href="http://wiki.freeswitch.org/wiki/Mod_lua#session:recordFile">documentation</a>, I am executing the following in a lua script:</div><div>session:recordFile(filename, 10000, 100, 5);</div>

<div><br></div><div>I expect that the recording will terminate automatically after 10 seconds. But it&#39;s not, the recording stays engaged long after 10s till I either terminate with &#39;#&#39; or there is enough trailing silence. What&#39;s the problem?</div>

<div><br></div><div>Thanks in advance,</div><div>Neil</div>