From cd0b948b184577a121b8514289393cc6a964dd83 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Wed, 2 Apr 2025 11:57:36 +0200 Subject: [PATCH] MT#62272 auto-daemon-tests-moh: make sure no RTP after call finished Make sure that in tests with MoH there are no RTP packets coming after the call is done. Expected is that all packets have been received during the signaling exchange. Change-Id: I861f53ea108c2f0cf9f808bf6954ccd145f487fc --- t/auto-daemon-tests-moh.pl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/t/auto-daemon-tests-moh.pl b/t/auto-daemon-tests-moh.pl index b88b99d35..7c3d96a04 100644 --- a/t/auto-daemon-tests-moh.pl +++ b/t/auto-daemon-tests-moh.pl @@ -118,6 +118,12 @@ a=recvonly a=rtcp:PORT SDP +rcv($sock_b, -1, rtpm(8, $seq + 5, $ts + 160 * 5, $ssrc, $pcma_1)); +rcv($sock_b, -1, rtpm(8, $seq + 6, $ts + 160 * 6, $ssrc, $pcma_2)); +rcv($sock_b, -1, rtpm(8, $seq + 7, $ts + 160 * 7, $ssrc, $pcma_3)); +rcv($sock_b, -1, rtpm(8, $seq + 8, $ts + 160 * 8, $ssrc, $pcma_4)); +rcv($sock_b, -1, rtpm(8, $seq + 9, $ts + 160 * 9, $ssrc, $pcma_5)); + # offerer puts off hold offer('Music on hold - MoH put off by offerer', { ICE => 'remove', DTLS => 'off' }, <