Don't stop Asterisk if chan_oss fails to register 'Console' (due to another channel driver already claiming it).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@269495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Russell Bryant 15 years ago
parent c4eee1ee7e
commit a8f624dc93

@ -1863,7 +1863,7 @@ static int load_module(void)
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));

Loading…
Cancel
Save