diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-24 20:29:51 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-24 20:29:51 +0000 |
commit | 4e9238c881531d905e5ccdbdd48e351d76f8a0cf (patch) | |
tree | c2f0ba232beac2b342a7293657aace42a4a84c92 /include | |
parent | 520c59666f4a061a43048036f97fdac4ef0c40f8 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@220344 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/features.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |