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 (cherry picked from commit ffe346b2de8d175ba60e0860546c32c25cb88d9f)
parent
e00eaa74
No related branches found
No related tags found
Showing
- bridges/bridge_builtin_features.c 52 additions, 8 deletionsbridges/bridge_builtin_features.c
- doc/CHANGES-staging/bridge_builtin_features_beep_on_monitor.txt 12 additions, 0 deletions...ANGES-staging/bridge_builtin_features_beep_on_monitor.txt
- funcs/func_periodic_hook.c 3 additions, 0 deletionsfuncs/func_periodic_hook.c
- main/features_config.c 6 additions, 0 deletionsmain/features_config.c
Loading
Please register or sign in to comment