[asterisk-commits] russell: trunk r267537 - /trunk/channels/chan_usbradio.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 3 12:31:44 CDT 2010
Author: russell
Date: Thu Jun 3 12:31:41 2010
New Revision: 267537
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=267537
Log:
Don't stop Asterisk if chan_usbradio isn't configured.
Modified:
trunk/channels/chan_usbradio.c
Modified: trunk/channels/chan_usbradio.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_usbradio.c?view=diff&rev=267537&r1=267536&r2=267537
==============================================================================
--- trunk/channels/chan_usbradio.c (original)
+++ trunk/channels/chan_usbradio.c Thu Jun 3 12:31:41 2010
@@ -3977,12 +3977,12 @@
ast_log(LOG_NOTICE, "radio active device %s not found\n", usbradio_active);
/* XXX we could default to 'dsp' perhaps ? */
/* XXX should cleanup allocated memory etc. */
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
if (ast_channel_register(&usbradio_tech)) {
ast_log(LOG_ERROR, "Unable to register channel type 'usb'\n");
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
ast_cli_register_multiple(cli_usbradio, ARRAY_LEN(cli_usbradio));
More information about the asterisk-commits
mailing list