diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 10 | ||||
-rw-r--r-- | include/asterisk/options.h | 6 |
2 files changed, 13 insertions, 3 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 35fe0c020..9cdc280ac 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1124,6 +1124,16 @@ struct ast_silence_generator *ast_channel_start_silence_generator(struct ast_cha */ void ast_channel_stop_silence_generator(struct ast_channel *chan, struct ast_silence_generator *state); +/*! + \brief Check if the channel can run in internal timing mode. + \param chan The channel to check + \return boolean + + This function will return 1 if internal timing is enabled and the timing + device is available. + */ +int ast_internal_timing_enabled(struct ast_channel *chan); + /* Misc. functions below */ /* if fd is a valid descriptor, set *pfd with the descriptor diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 03470d217..ba8b8b291 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -101,10 +101,10 @@ enum ast_option_flags { extern struct ast_flags ast_options; extern int option_verbose; -extern int option_debug; -extern int option_maxcalls; +extern int option_debug; /*!< Debugging */ +extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ extern double option_maxload; - +extern int option_internal_timing; /*!< Flag for internal timing (RTP) */ extern char defaultlanguage[]; extern time_t ast_startuptime; |