mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add sip_local_network_addr var to see the ip of the sip profile a call came in or went out on for cdr (FSCORE-562)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17073 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -3320,6 +3320,7 @@ static switch_call_cause_t sofia_outgoing_channel(switch_core_session_t *session
|
||||
}
|
||||
}
|
||||
|
||||
switch_channel_set_variable_printf(nchannel, "sip_local_network_addr", "%s", profile->extsipip ? profile->extsipip : profile->sipip);
|
||||
switch_channel_set_variable(nchannel, "sip_profile_name", profile_name);
|
||||
|
||||
sofia_glue_get_user_host(switch_core_session_strdup(nsession, tech_pvt->dest), NULL, &tech_pvt->remote_ip);
|
||||
|
||||
Reference in New Issue
Block a user