Merge pull request #1684 from dragos-oancea/xml-vol-logline

[core] fix loglevel - switch_ivr_phrase_macro_event()
This commit is contained in:
Andrey Volk 2022-06-08 17:09:50 +03:00 committed by GitHub
commit 2d41d91b09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_phrase_macro_event(switch_core_sessio
switch_normalize_volume_granular(volume)
pfh.volgranular = volume;
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Setting playback volume to %d\n", pfh.volgranular);
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Setting playback volume to %d\n", pfh.volgranular);
}
status = switch_ivr_play_file(session, &pfh, odata, args);
} else if (!strcasecmp(func, "phrase")) {