[asterisk-commits] russell: branch 1.4 r269495 - /branches/1.4/channels/chan_oss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 9 17:18:40 CDT 2010
Author: russell
Date: Wed Jun 9 17:18:37 2010
New Revision: 269495
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=269495
Log:
Don't stop Asterisk if chan_oss fails to register 'Console' (due to another channel driver already claiming it).
Modified:
branches/1.4/channels/chan_oss.c
Modified: branches/1.4/channels/chan_oss.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_oss.c?view=diff&rev=269495&r1=269494&r2=269495
==============================================================================
--- branches/1.4/channels/chan_oss.c (original)
+++ branches/1.4/channels/chan_oss.c Wed Jun 9 17:18:37 2010
@@ -1863,7 +1863,7 @@
if (ast_channel_register(&oss_tech)) {
ast_log(LOG_ERROR, "Unable to register channel type 'OSS'\n");
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
ast_cli_register_multiple(cli_oss, sizeof(cli_oss) / sizeof(struct ast_cli_entry));
More information about the asterisk-commits
mailing list