git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@245909
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
unload_module();
return res;
} else if (res == 1) {
- unload_module();
ast_log(LOG_WARNING, "No SMDI interfaces are available to listen on, not starting SMDI listener.\n");
- return AST_MODULE_LOAD_DECLINE;
+ /*! \note Since chan_dahdi depends on this module, we need to load the module in inactive state
+ instead of AST_MODULE_LOAD_DECLINE. This is fixed in later releases of Asterisk.
+ */
+ return AST_MODULE_LOAD_SUCCESS;
}
return 0;