mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-08 08:51:50 +00:00
add sip_history_info var for inbound invites.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10718 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
b87c17e347
commit
e3fba6f719
@ -4197,6 +4197,8 @@ void sofia_handle_sip_i_invite(nua_t *nua, sofia_profile_t *profile, nua_handle_
|
|||||||
free(tmp_name);
|
free(tmp_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (!strncasecmp(un->un_name, "History-Info", 12)) {
|
||||||
|
switch_channel_set_variable(channel, "sip_history_info", un->un_value);
|
||||||
} else if (!strncasecmp(un->un_name, "X-", 2) || !strncasecmp(un->un_name, "P-", 2)) {
|
} else if (!strncasecmp(un->un_name, "X-", 2) || !strncasecmp(un->un_name, "P-", 2)) {
|
||||||
if (!switch_strlen_zero(un->un_value)) {
|
if (!switch_strlen_zero(un->un_value)) {
|
||||||
char new_name[512] = "";
|
char new_name[512] = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user