mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 04:31:50 +00:00
add sofia_profile_name chanvar to sip channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5739 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1868,6 +1868,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
|
||||
}
|
||||
}
|
||||
|
||||
switch_channel_set_variable(channel, "sofia_profile_name", profile->name);
|
||||
|
||||
if (!switch_strlen_zero(sip->sip_from->a_display)) {
|
||||
char *tmp;
|
||||
tmp = switch_core_session_strdup(session, sip->sip_from->a_display);
|
||||
|
||||
Reference in New Issue
Block a user