mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
add version to log
This commit is contained in:
@@ -7942,8 +7942,13 @@ void sofia_handle_sip_i_invite(switch_core_session_t *session, nua_t *nua, sofia
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
sofia_glue_get_addr(de->data->e_msg, network_ip, sizeof(network_ip), &network_port);
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(tech_pvt->session), SWITCH_LOG_DEBUG, "%s receiving invite from %s:%d version: %s\n",
|
||||
switch_channel_get_name(tech_pvt->channel), network_ip, network_port, switch_version_full_human());
|
||||
|
||||
|
||||
if (sip && sip->sip_via && sip->sip_via->v_protocol && switch_stristr("sip/2.0/ws", sip->sip_via->v_protocol)) {
|
||||
is_nat = "websockets";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user