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:
parent
d8e65abe8f
commit
5078cdb0f6
|
@ -318,7 +318,7 @@ static switch_status_t local_stream_file_open(switch_file_handle_t *handle, cons
|
|||
}
|
||||
} else {
|
||||
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);
|
||||
path = "default";
|
||||
goto top;
|
||||
|
|
Loading…
Reference in New Issue