]> git.ipfire.org Git - thirdparty/asterisk.git/commit
bridge_builtin_features: add beep via touch variable
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 1 Mar 2023 22:39:15 +0000 (15:39 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 20 Mar 2023 15:46:17 +0000 (10:46 -0500)
commitedd7f1b0605e2840b2e21bf45afa67950dd3f9fe
tree01d4e35c317b84f817e3e8a774b1a94f7f24ceba
parentc4a55322bcd6e0bf0ae42fd3d3475784e07290ad
bridge_builtin_features: add beep via touch variable

Add periodic beep option to one-touch recording by setting
the touch variable TOUCH_MONITOR_BEEP or
TOUCH_MIXMONITOR_BEEP to the desired interval in seconds.

If the interval is less than 5 seconds, a minimum of 5
seconds will be imposed.  If the interval is set to an
invalid value, it will default to 15 seconds.

A new test event PERIODIC_HOOK_ENABLED was added to the
func_periodic_hook hook_on function to indicate when
a hook is started.  This is so we can test that the touch
variable starts the hook as expected.

ASTERISK-30446

Change-Id: I800e494a789ba7a930bbdcd717e89d86040d6661
bridges/bridge_builtin_features.c
doc/CHANGES-staging/bridge_builtin_features_beep_on_monitor.txt [new file with mode: 0644]
funcs/func_periodic_hook.c
main/features_config.c