mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
tweak the session level logging to work on the console too
This commit is contained in:
@@ -531,6 +531,11 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_
|
||||
|
||||
switch_assert(peer_channel);
|
||||
|
||||
if (channel && switch_true(switch_channel_get_variable(channel, "session_copy_loglevel"))) {
|
||||
(*new_session)->loglevel = session->loglevel;
|
||||
}
|
||||
|
||||
|
||||
if ((use_uuid = switch_event_get_header(var_event, "origination_uuid"))) {
|
||||
use_uuid = switch_core_session_strdup(*new_session, use_uuid);
|
||||
if (switch_core_session_set_uuid(*new_session, use_uuid) == SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user