mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Fix error loading res_monitor.
For some odd reason, loading app_mixmonitor was fine, but res_monitor was not. This patch fixes a set of issues related to func_periodic_hook exporting the beep functions that gets res_monitor working again. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@412910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -520,4 +520,7 @@ int AST_OPTIONAL_API_NAME(ast_beep_stop)(struct ast_channel *chan, const char *b | ||||
| 	return hook_write(chan, NULL, (char *) beep_id, "off"); | ||||
| } | ||||
|  | ||||
| AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Periodic dialplan hooks."); | ||||
| AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Periodic dialplan hooks.", | ||||
| 		.load = load_module, | ||||
| 		.unload = unload_module, | ||||
| 		); | ||||
|   | ||||
							
								
								
									
										7
									
								
								funcs/func_periodic_hook.exports.in
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								funcs/func_periodic_hook.exports.in
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| { | ||||
| 	global: | ||||
| 		LINKER_SYMBOL_PREFIX*ast_beep_start; | ||||
| 		LINKER_SYMBOL_PREFIX*ast_beep_stop; | ||||
| 	local: | ||||
| 		*; | ||||
| }; | ||||
		Reference in New Issue
	
	Block a user