[asterisk-commits] oej: branch 1.4 r245909 - /branches/1.4/res/res_smdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 10 02:24:38 CST 2010
Author: oej
Date: Wed Feb 10 02:24:34 2010
New Revision: 245909
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=245909
Log:
Make sure that res_smdi loads regardless of configuration, since chan_dahdi depends on res_smdi
Modified:
branches/1.4/res/res_smdi.c
Modified: branches/1.4/res/res_smdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/res/res_smdi.c?view=diff&rev=245909&r1=245908&r2=245909
==============================================================================
--- branches/1.4/res/res_smdi.c (original)
+++ branches/1.4/res/res_smdi.c Wed Feb 10 02:24:34 2010
@@ -1361,9 +1361,11 @@
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;
More information about the asterisk-commits
mailing list