Variable enable file write buffering

From FreeSWITCH Wiki
Jump to: navigation, search

enable_file_write_buffering

Enable file buffering when recording a file, defaults to true if not set.

Buffer size defaults to `SWITCH_DEFAULT_FILE_BUFFER_LEN` but can be overridden by putting bytes size instead of true (see below example).

Related discussion; http://lists.freeswitch.org/pipermail/freeswitch-users/2012-April/082835.html



Usage:

<action application="set" data="enable_file_write_buffering=false"/> 
<action application="set" data="enable_file_write_buffering=true"/> 
<action application="set" data="enable_file_write_buffering=65535"/> 


See also:


Implemented By:

Module Name Source FileLast Revised
coreswitch_ivr_play_say.c 11677