diff --git a/t/auto-daemon-tests-t38.pl b/t/auto-daemon-tests-t38.pl index 63772290a..a740d6f4b 100755 --- a/t/auto-daemon-tests-t38.pl +++ b/t/auto-daemon-tests-t38.pl @@ -85,6 +85,9 @@ sub t38_gw_test { # it will also have generated a block of PCM if ($seq == -1) { ($seq, $ts, $ssrc, $buf) = rcv($pcm_sock, $pcm_port, rtpmre(8 | 0x80, -1, -1, -1, '(' . ("." x 160) . ')')); + if ($opts{seq}) { + is($seq, $opts{seq}, 'initial sequence number'); + } } else { ($buf) = rcv($pcm_sock, $pcm_port, rtpmre(8, $seq += 1, $ts += 160, $ssrc, '(' . ("." x 160) . ')')); @@ -303,6 +306,12 @@ a=sendrecv a=rtcp:PORT SDP +snd($sock_a, $port_b, rtp(8, 1000, 3000, 0x1234, "\x00" x 160)); +rcv($sock_b, $port_a, rtpm(8, 1000, 3000, 0x1234, "\x00" x 160)); + +snd($sock_b, $port_a, rtp(8, 4000, 6000, 0x2bc3, "\x00" x 160)); +rcv($sock_a, $port_b, rtpm(8, 4000, 6000, 0x2bc3, "\x00" x 160)); + ($port_a) = offer('T.38 after re-invite', { 'T.38' => [ 'force' ], ICE => 'remove', }, < 1); + reverse => 1, seq => 4001);