1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-14 12:57:22 +00:00

fail over to default if desired stream is not found

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13186 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-04-29 03:24:53 +00:00
parent d8e65abe8f
commit 5078cdb0f6

@ -318,7 +318,7 @@ static switch_status_t local_stream_file_open(switch_file_handle_t *handle, cons
} }
} else { } else {
if (!switch_stristr("default", alt_path) && !switch_stristr("default", path)) { if (!switch_stristr("default", alt_path) && !switch_stristr("default", path)) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown source %s, trying 'default'\n", path); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Unknown source %s, trying 'default'\n", path);
free(alt_path); free(alt_path);
path = "default"; path = "default";
goto top; goto top;