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@gmail.com>
I'm a HTTAPI user and i want to use something like RECORD_INITIAL_TIMEOUT_MS and 

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
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