Browse Source

MT#55283 force re-encryption if DTMF injection is requested

discovered via #1819

Change-Id: I2e705c32e7430738cb919e85157fd31efcb87937
(cherry picked from commit 8b7cab4ea7)
(cherry picked from commit 0a1faaadc5)
pull/1852/head
Richard Fuchs 2 years ago
parent
commit
99fd5e3ba9
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/media_socket.c

+ 2
- 0
daemon/media_socket.c View File

@ -2013,6 +2013,8 @@ static const struct streamhandler *__determine_handler(struct packet_stream *in,
must_recrypt = true; must_recrypt = true;
else if (MEDIA_ISSET(in->media, DTLS) || (out && MEDIA_ISSET(out->media, DTLS))) else if (MEDIA_ISSET(in->media, DTLS) || (out && MEDIA_ISSET(out->media, DTLS)))
must_recrypt = true; must_recrypt = true;
else if (ML_ISSET(in->media->monologue, INJECT_DTMF) || (out && ML_ISSET(out->media->monologue, INJECT_DTMF)))
must_recrypt = true;
else if (sh->attrs.transcoding) else if (sh->attrs.transcoding)
must_recrypt = true; must_recrypt = true;
else if (in->call->recording) else if (in->call->recording)


Loading…
Cancel
Save