[Freeswitch-users] HTTAPI : Record : Silence Detection

Vinicius Bomfim vbomfim at gmail.com
Fri Sep 27 23:28:11 MSD 2013


Looking in mod_httapi.c, there are 2 parameters *silence-hits* and *threshold
*not documented*.*
Docs on
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_wait_for_silence#Description
.

I set silence-hits to 5 and i left threshold with default value (200).
Then after 5 seconds of silence the recording is interrupted.

I hope this can help someone.
______________________
Vinicius Bomfim


2013/9/26 Vinicius Bomfim <vbomfim at gmail.com>

> I'm a HTTAPI user and i want to use something like
> RECORD_INITIAL_TIMEOUT_MS and
> RECORD_FINAL_TIMEOUT_MS. (http://jira.freeswitch.org/browse/FS-4969)
>
> Or just disable silence detection.
> Is there how get this behavior today with HTTAPI ?
>
> This is what i'm sending today and the recording stops if i have about
> 1,5s of silence.
>
> <document type="text/freeswitch-httapi">
> <work>
> <record
> temp-action="http://ubappserver/IVRAppServer/UploadFileRecorded"
> name="playback_user_input"
> beep-file="tone_stream://%(100,0,640)"
> file="msgPersonalizada.wav"
> limit="10"
> terminators="#">
> </record>
> </work>
> </document>
>
> Thanks in advance,
> ____________________________
> Vinicius Bomfim
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130927/c48ebd08/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list