<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm writing the script in LUA... not sure how to answer your
question RE dialplan or ESL...<br>
<br>
The lua script is triggered via the socket library from a php page,
and the arguments to the lua script are things like the phone number
to dial, and an id number to track things back.<br>
<br>
The application is pretty simple, it just needs to call the desired
number, play instructions via voice commands, take a recording,
allow user to review the recording, rerecord it, and then finally
submit it. It's going to be for medical dictation. It's pretty
much done except for the pause feature.<br>
<br>
Searching around the archives for the "pause during recording"
functionality, I found a few people discussing the need for pause in
relation to a transcription app, but couldn't figure out what came
of it.<br>
<br>
I'm pretty close, as I already have a loop that will stop the
recording on a "#" keypress, so if it could just pause recording on
a different keypress, that would be great... <br>
<br>
Thanks for the help!<br>
<br>
On 6/28/2011 6:11 PM, Michael Collins wrote:
<blockquote
cite="mid:BANLkTi=ZDqFFmbh-xbYprMMKWQU=8HKUZg@mail.gmail.com"
type="cite">Dialplan script or ESL? A dp script is a bad idea for
this kind of thing. Anything that requires async ops like
listening for digits while doing other things is a candidate for
ESL. <br>
<br>
What cool new app are you working on? :)<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Tue, Jun 28, 2011 at 11:57 AM, Wes <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:wes-fs@499x.com">wes-fs@499x.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
I couldn't find much on this: Is it possible in lua script to
let the<br>
user press a key to pause recording, and press a key again to
continue<br>
the recording, just like a traditional recorder?<br>
<br>
Thanks!<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
</body>
</html>