[core] add peer uuid to originate log

This commit is contained in:
Seven Du 2020-05-13 02:56:30 +08:00 committed by Andrey Volk
parent d1d777df6c
commit 01b92f00bb
1 changed files with 2 additions and 2 deletions

View File

@ -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 {