Refactor ast_bridge_features struct.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jul 2013 21:13:00 +0000 (21:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 24 Jul 2013 21:13:00 +0000 (21:13 +0000)
commit07d2694f725557854142fb6ae8fafa0e708b389e
treed4acf240ded6041d72ea4aedf10a062901c51b3d
parent50d69a9d12c7001f37d011b2860734619b45b2a9
Refactor ast_bridge_features struct.

* Reduced the number of hook containers to just dtmf_hooks,
interval_hooks, and other_hooks.  As a result, several functions dealing
with the different hook containers could be combined.

* Extended the generic hook struct for DTMF and interval hooks instead of
using a variant record.

* Merged the special talk detector hook into the other_hooks container.

* Replaced ast_bridge_features_set_talk_detector() with
ast_bridge_talk_detector_hook().

(issue ASTERISK-22107)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_confbridge.c
include/asterisk/bridging_features.h
main/bridging.c
main/bridging_channel.c