From 01b92f00bbb7b911c4666a9e2fb0088f3965ed80 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Wed, 13 May 2020 02:56:30 +0800 Subject: [PATCH] [core] add peer uuid to originate log --- src/switch_ivr_originate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 698b7425ea..627f43ead6 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -3889,8 +3889,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } } - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(oglobals.session), SWITCH_LOG_DEBUG, "Originate Resulted in Success: [%s]\n", - switch_channel_get_name(peer_channel)); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(oglobals.session), SWITCH_LOG_DEBUG, "Originate Resulted in Success: [%s] Peer UUID: %s\n", + switch_channel_get_name(peer_channel), switch_channel_get_uuid(peer_channel)); *cause = SWITCH_CAUSE_SUCCESS; } else {