diff options
author | Russell Bryant <russell@russellbryant.com> | 2014-04-15 23:21:19 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2014-04-15 23:21:19 +0000 |
commit | 5b7a769fd8b02dcb1d6326ebbe1d4eafcdc75491 (patch) | |
tree | 04a508265c012a493e472d4380bafb7884257896 /bridges/bridge_builtin_features.c | |
parent | ba1db5d8f536807415068810832ab2daed56f3bb (diff) |
(mix)monitor: Add options to enable a periodic beep
Add an option to enable a periodic beep to be played into a call if it
is being recorded. If enabled, it uses the PERIODIC_HOOK() function
internally to play the 'beep' prompt into the call at a specified
interval. This option is provided for both Monitor() and
MixMonitor().
Review: https://reviewboard.asterisk.org/r/3424/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'bridges/bridge_builtin_features.c')
-rw-r--r-- | bridges/bridge_builtin_features.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/bridge_builtin_features.c b/bridges/bridge_builtin_features.c index ee4a69682..b30005257 100644 --- a/bridges/bridge_builtin_features.c +++ b/bridges/bridge_builtin_features.c @@ -196,7 +196,7 @@ static void start_automonitor(struct ast_bridge_channel *bridge_channel, struct ast_verb(3, "AutoMonitor used to record call. Filename: %s\n", touch_filename); - if (ast_monitor_start(peer_chan, touch_format, touch_filename, 1, X_REC_IN | X_REC_OUT)) { + if (ast_monitor_start(peer_chan, touch_format, touch_filename, 1, X_REC_IN | X_REC_OUT, NULL)) { ast_verb(3, "automon feature was tried by '%s' but monitor failed to start.\n", ast_channel_name(bridge_channel->chan)); return; |