mirror of https://github.com/sipwise/rtpengine.git
this fixes an edge case where `DTMF-security=silence`, `block-media` is enabled and the endpoint sends silence packets in between each RTP event packet of a single DTMF hit. When that happens, the DTMF doesn't get processed as `packet_sequencer_next_packet` returns NULL, and the while loop is broken due to the ts_diff being 0 By checking if media is currently blocked and that the current packet is a supplemental DTMF, we can force the packet to be processed so the dropped packet is considered lost and we don't lose the DTMF event Change-Id: I78bc8e273e872b3ab88f7a84e26a79fad1793476pull/1964/head
parent
621d86918a
commit
101d9ae0ef
Loading…
Reference in new issue