MT#62859 CallLeg: set sip replay to false (reconnect)

When this leg being reconnected, is still in progress
of posting remaining events to update the other side
(the reconnect originator), don't consider it as
sip relay ready. Otherwise any INVITE updates coming
to it, will lead to stumbled INVITEs coming to the other leg,
but without a possibility to use it here (because e.g. this
other side never seen 200OK answer even).

Change-Id: I183d0f70433c156030de38238db395e2c1372352
mr13.5
Donat Zenichev 1 year ago
parent 2616037b6c
commit b5ce83dbe7

@ -832,6 +832,10 @@ void CallLeg::onB2BReconnect(ReconnectLegEvent* ev)
ILOG_DLG(L_DBG, "INVITE pending - planning session update with SDP from INVITE+replaces for later for ltag %s",
getLocalTag().c_str());
/* we aren't ready to relay to the other leg yet (to the originator of reconnection) */
set_sip_relay_only(false);
pending_updates.push_back(u);
ILOG_DLG(L_DBG, "INVITE pending - accepting with fake SDP\n");
// remember SDP origin of the other side for our requests

Loading…
Cancel
Save