MT#56465 call_get_dialogue: add some code comments

Add some code commentaries shedding light on
to what ft and tt objects indeed are correlated to.

Change-Id: Ic6e6681e5d048940d53b894893b63720e5a82b53
pull/1880/head
Donat Zenichev 6 months ago
parent ec21fe5cb7
commit 2c222063ca

@ -4734,6 +4734,10 @@ static int call_get_dialogue(struct call_monologue *monologues[2], call_t *call,
__C_DBG("getting dialogue for tags '"STR_FORMAT"'<>'"STR_FORMAT"' in call '"STR_FORMAT"'",
STR_FMT(fromtag), STR_FMT(totag), STR_FMT(&call->callid));
/* ft - is always this side's tag (in offer it's message's from-tag, in answer it's message's to-tag)
* tt - is always other side's tag (in offer it's message's to-tag, in answer it's message's from-tag)
*/
/* we start with the to-tag. if it's not known, we treat it as a branched offer */
tt = call_get_monologue(call, totag);
if (!tt)

Loading…
Cancel
Save