mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
res_monitor: Add dependency on func_periodic_hook.
OPTIONAL_API has conditionals to define AST_OPTIONAL_API and AST_OPTIONAL_API_ATTR differently based on if AST_API_MODULE is defined. Unfortunately this is inside the include protection block, so only the first status of AST_API_MODULE is respected. For example res_monitor is an optional API provider, but uses func_periodic_hook. This makes func_periodic_hook non-optional to res_monitor. ASTERISK-17608 #close Reported by: Warren Selby Change-Id: I8fcf2a5e7b481893e17484ecde4f172c9ffb5679
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
*/
|
||||
|
||||
/*** MODULEINFO
|
||||
<depend type="module">func_periodic_hook</depend>
|
||||
<support_level>core</support_level>
|
||||
***/
|
||||
|
||||
|
Reference in New Issue
Block a user