Browse Source

MT#61371 prevent A <> A dialogue associations

Change-Id: I1f6a7bb4dd369e9f32f2514cf8496ad574232364
pull/1876/head
Richard Fuchs 1 year ago
parent
commit
e7143500ea
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      daemon/call.c

+ 3
- 0
daemon/call.c View File

@ -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