fix regression in commit 98f74a5f
FS-2965
This commit is contained in:
parent
8458adebbb
commit
2e0747272f
|
@ -5046,7 +5046,7 @@ static switch_status_t conference_local_play_file(conference_obj_t *conference,
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (conference->sound_prefix) {
|
||||
if (!switch_is_file_path(path) && conference->sound_prefix) {
|
||||
if (!(dpath = switch_mprintf("%s%s%s", conference->sound_prefix, SWITCH_PATH_SEPARATOR, path))) {
|
||||
status = SWITCH_STATUS_MEMERR;
|
||||
goto done;
|
||||
|
@ -5827,7 +5827,7 @@ SWITCH_STANDARD_APP(conference_function)
|
|||
toplay = conference->kicked_sound;
|
||||
}
|
||||
|
||||
if (conference->sound_prefix) {
|
||||
if (!switch_is_file_path(toplay) && conference->sound_prefix) {
|
||||
dfile = switch_mprintf("%s%s%s", conference->sound_prefix, SWITCH_PATH_SEPARATOR, toplay);
|
||||
switch_assert(dfile);
|
||||
toplay = dfile;
|
||||
|
|
Loading…
Reference in New Issue