mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	When optional_api is non-optional, force dependent modules to be loaded.
(closes issue #17707) Reported by: ira Patches: 20100819__issue17707__asterisk1.8.diff.txt uploaded by tilghman (license 14) Tested by: tilghman Review: https://reviewboard.asterisk.org/r/876/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -32,6 +32,7 @@ | ||||
|  */ | ||||
| /*** MODULEINFO | ||||
|         <depend>chan_local</depend> | ||||
|         <depend>res_monitor</depend> | ||||
|  ***/ | ||||
|  | ||||
| #include "asterisk.h" | ||||
| @@ -2484,4 +2485,5 @@ AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "Agent Proxy Channel", | ||||
| 		.unload = unload_module, | ||||
| 		.reload = reload, | ||||
| 		.load_pri = AST_MODPRI_CHANNEL_DRIVER, | ||||
| 		.nonoptreq = "res_monitor,chan_local", | ||||
| 	       ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user