From f150b48bc05a2d8f212966763775a04cd727d843 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Thu, 24 Sep 2009 20:29:51 +0000 Subject: Add bridge related dial flags to the bridge app Most of the functionality here is gained simply by setting the feature flag on the bridge config. However, the dial limit functionality has been moved from app_dial to the features code and has been made public so both app_dial and the bridge app can use it. (closes issue #13165) Reported by: tim_ringenbach Patches: app_bridge_options_r138998.diff uploaded by tim ringenbach (license 540), modified by me git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@220344 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/features.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/asterisk/features.h b/include/asterisk/features.h index a660b9e8a..7f1564e3d 100644 --- a/include/asterisk/features.h +++ b/include/asterisk/features.h @@ -148,4 +148,9 @@ void ast_unlock_call_features(void); /*! \brief Reload call features from features.conf */ int ast_features_reload(void); +/* !\brief parse L option and read associated channel variables to set warning, warning frequency, and timelimit + \note caller must be aware of freeing memory for warning_sound, end_sound, and start_sound +*/ +int ast_bridge_timelimit(struct ast_channel *chan, struct ast_bridge_config *config, char *parse, struct timeval *calldurationlimit); + #endif /* _AST_FEATURES_H */ -- cgit v1.2.3