aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-01 17:22:25 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-01 17:22:25 +0000
commitcd7ee5f7cd6d49a4ed351fa7df55c2ca3289de89 (patch)
treeb24f65814e64ea93c42d8db91cbc40459344bbc7 /include/asterisk
parentdced94c17e806027133032e9c1083a2b98fdf790 (diff)
optionally send silence during recording (issue #5135)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6925 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h4
-rwxr-xr-xinclude/asterisk/options.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 12ee9178e..6599edbb5 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -1099,6 +1099,10 @@ struct ast_frame *ast_channel_spy_read_frame(struct ast_channel_spy *spy, unsign
*/
void ast_channel_spy_trigger_wait(struct ast_channel_spy *spy);
+struct ast_silence_generator;
+struct ast_silence_generator *ast_channel_start_silence_generator(struct ast_channel *chan);
+void ast_channel_stop_silence_generator(struct ast_channel *chan, struct ast_silence_generator *state);
+
/* Misc. functions below */
/* Helper function for migrating select to poll */
diff --git a/include/asterisk/options.h b/include/asterisk/options.h
index 52f0af027..fd8f3aadb 100755
--- a/include/asterisk/options.h
+++ b/include/asterisk/options.h
@@ -42,6 +42,7 @@ extern int option_exec_includes;
extern int option_cache_record_files;
extern int option_timestamp;
extern int option_transcode_slin;
+extern int option_transmit_silence_during_record;
extern int option_maxcalls;
extern double option_maxload;
extern int option_dontwarn;