MT#61371 prevent A <> A dialogue associations

Change-Id: I1f6a7bb4dd369e9f32f2514cf8496ad574232364
pull/1876/head
Richard Fuchs 1 year ago
parent 53a450ed48
commit e7143500ea

@ -4713,6 +4713,9 @@ static int call_get_dialogue(struct call_monologue *monologues[2], call_t *call,
ft = __monologue_create(call);
tag_setup:
if (ft == tt)
return -1; // it's a hard error to have a monologue talking to itself
/* the fromtag monologue may be newly created, or half-complete from the totag, or
* derived from the viabranch. */
if (!ft->tag.s || str_cmp_str(&ft->tag, fromtag))

Loading…
Cancel
Save