Skip to content
Snippets Groups Projects
app_jack.c 26.8 KiB
Newer Older
  • Learn to ignore specific revisions
  • {
    	int res;
    
    	res = ast_unregister_application(jack_app);
    	res |= ast_custom_function_unregister(&jack_hook_function);
    
    	return res;
    }
    
    static int load_module(void)
    {
    
    	if (ast_register_application_xml(jack_app, jack_exec)) {
    
    	if (ast_custom_function_register(&jack_hook_function)) {
    		ast_unregister_application(jack_app);
    		return AST_MODULE_LOAD_DECLINE;
    	}
    
    }
    
    AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "JACK Interface");