mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-4250 --resolve erase replaces header after using it
This commit is contained in:
parent
192030c578
commit
3e1d68b0a6
@ -2087,7 +2087,9 @@ switch_status_t sofia_glue_do_invite(switch_core_session_t *session)
|
||||
}
|
||||
|
||||
|
||||
rep = switch_channel_get_variable(channel, SOFIA_REPLACES_HEADER);
|
||||
if ((rep = switch_channel_get_variable(channel, SOFIA_REPLACES_HEADER))) {
|
||||
switch_channel_set_variable(channel, SOFIA_REPLACES_HEADER, NULL);
|
||||
}
|
||||
|
||||
switch_assert(tech_pvt != NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user