[Freeswitch-users] How to stop a Recording when the user presses "#" on C# project?

Bob Coleman bobc at devassert.com
Tue Jun 7 05:31:10 MSD 2011


Hi,

You just set the playback_terminators to a # before you issue the record

Cheers

Bob

On Tue, Jun 7, 2011 at 11:29 AM, Frankie Yiu <frankie.k.yiu at gmail.com> wrote:
> Hi there,
>
> I am working on a C# project and would like to record a message when the
> user is ready to record.  Here is the API for C#:
>  public int RecordFile(string file_name, int time_limit, int
> silence_threshold, int silence_hits);
>
> This API will stop the call only on timeout or when there is seconds of
> silence.  What I want to do is to let the user decide when to end the
> recording by pressing a "#" key.  So how can I do that?  Do I have to use C
> code to do that? (by sending event to C code side?)
>
> Thanks,
> Frankie
>



More information about the FreeSWITCH-users mailing list