<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><DIV>I sent this email this morning but it didn't seem to make it through, so I'm sending it again. My appologies if it eventually becomes a duplicate:</DIV>
<DIV> </DIV>
<DIV>Hello. In the modLua documentation (pasted below), it suggests in the comment that recordings using recordFile may be ended by pressing the # key. For Python, the documentation for the API points to modLua, but the touch-tone barge-in doesn't seem to be working for me. And I can't figure out a simple way to accomplish this. Any advice?</DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New, courier, monaco, monospace, sans-serif">
<DIV>
<H3><FONT color=#0000ff size=2>session:recordFile</FONT></H3>
<H3><FONT color=#0000ff size=2>syntax is session:recordFile(file_name, max_len, silence_threshold, silence_secs) </FONT></H3>
<P><FONT color=#0000ff>Example: </FONT></P><PRE><FONT color=#0000ff>session:recordFile("/tmp/blah.wav", 30000, 10, 10); -- pressing # ends the recording
session:streamFile("/tmp/blah.wav");
</FONT></PRE></DIV></DIV></DIV></DIV></div></body></html>