[Freeswitch-users] pause and restart while recording?

Wes wes-fs at 499x.com
Wed Jun 29 20:13:24 MSD 2011


if I reuse the same filename as a previous recording, it just overwrites 
it.

On 6/29/2011 10:32 AM, David Ponzone wrote:
> That's interesting, but what does FS do if you record over an existing 
> file ? Does it append or does it overwrite it ?
>
> David Ponzone Direction Technique
> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
>
> Service ClientIPeva
> tel:      0811 46 26 26
> www.ipeva.fr <BLOCKED::http://www.ipeva.fr/>  - www.ipeva-studio.com 
> <BLOCKED::http://www.ipeva-studio.com/>
>
> /Ce message et toutes les pièces jointes sont confidentiels et établis 
> à l'intention exclusive de ses destinataires. Toute utilisation ou 
> diffusion non autorisée est interdite. Tout message électronique est 
> susceptible d'altération. /*/IPeva/*/ décline toute responsabilité au 
> titre de ce message s'il a été altéré, déformé ou falsifié. Si vous 
> n'êtes pas destinataire de ce message, merci de le détruire 
> immédiatement et d'avertir l'expéditeur./
> /
> /
>
>
>
> Le 29/06/2011 à 16:00, Wes a écrit :
>
>> I'm writing the script in LUA... not sure how to answer your question 
>> RE dialplan or ESL...
>>
>> 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.
>>
>> 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.
>>
>> 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.
>>
>> 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...
>>
>> Thanks for the help!
>>
>> On 6/28/2011 6:11 PM, Michael Collins wrote:
>>> 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.
>>>
>>> What cool new app are you working on? :)
>>>
>>> -MC
>>>
>>> On Tue, Jun 28, 2011 at 11:57 AM, Wes <wes-fs at 499x.com 
>>> <mailto:wes-fs at 499x.com>> wrote:
>>>
>>>     I couldn't find much on this:  Is it possible in lua script to
>>>     let the
>>>     user press a key to pause recording, and press a key again to
>>>     continue
>>>     the recording, just like a traditional recorder?
>>>
>>>     Thanks!
>>>
>>>     _______________________________________________
>>>     Join us at ClueCon 2011, Aug 9-11, Chicago
>>>     http://www.cluecon.com <http://www.cluecon.com/> 877-7-4ACLUE
>>>
>>>     FreeSWITCH-users mailing list
>>>     FreeSWITCH-users at lists.freeswitch.org
>>>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>     http://www.freeswitch.org <http://www.freeswitch.org/>
>>>
>>>
>>>
>>> _______________________________________________
>>> Join us at ClueCon 2011, Aug 9-11, Chicago
>>> http://www.cluecon.com  877-7-4ACLUE
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> _______________________________________________
>> Join us at ClueCon 2011, Aug 9-11, Chicago
>> http://www.cluecon.com 877-7-4ACLUE
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org 
>> <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110629/fe399f5c/attachment-0001.html 


More information about the FreeSWITCH-users mailing list