From 03ceef35ac9572e64a596d0094b800e25fda7e0d Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Tue, 1 Nov 2005 17:22:25 +0000 Subject: optionally send silence during recording (issue #5135) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6925 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/channel.h | 4 ++++ include/asterisk/options.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include/asterisk') 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; -- cgit v1.2.3