[asterisk-commits] mjordan: branch 11 r399353 - /branches/11/bridges/bridge_softmix.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 18 12:17:20 CDT 2013
Author: mjordan
Date: Wed Sep 18 12:17:13 2013
New Revision: 399353
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399353
Log:
Add a WARNING in bridge_softmix when a timing module isn't loaded
If bridge_softmix fails to be created because no timing source is present in
Asterisk, this will currently fail gracefully but with (most likely) a generic
error message by whatever module tried to create the softmix bridge. This
patch adds a more explicit warning so you can actually diagnose and fix the
problem.
Review: https://reviewboard.asterisk.org/r/2857/
Modified:
branches/11/bridges/bridge_softmix.c
Modified: branches/11/bridges/bridge_softmix.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/bridges/bridge_softmix.c?view=diff&rev=399353&r1=399352&r2=399353
==============================================================================
--- branches/11/bridges/bridge_softmix.c (original)
+++ branches/11/bridges/bridge_softmix.c Wed Sep 18 12:17:13 2013
@@ -313,6 +313,7 @@
return -1;
}
if (!(softmix_data->timer = ast_timer_open())) {
+ ast_log(AST_LOG_WARNING, "Failed to open timer for softmix bridge\n");
ao2_ref(softmix_data, -1);
return -1;
}
More information about the asterisk-commits
mailing list