From 2f664bc72e3d426de8beb70e9142ff9581f5bbe5 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Tue, 24 Dec 2024 12:23:31 +0100 Subject: [PATCH] MT#55283 Fix for "opus<>opus+DTMF" test Fix for "opus<>opus+DTMF" auto test. Receive when port is already known. Fixes: Use of uninitialized value $port in numeric eq (==) at ../perl/NGCP/Rtpengine/AutoTest.pm line 239. Change-Id: Ic0089bae769ccafeb7145e703a6e21029da85a97 --- t/auto-daemon-tests.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index b08c000af..d9daca4cd 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -245,7 +245,6 @@ a=ptime:20 SDP snd($sock_b, $port_a, rtp(119, 2000, 4000, 0x123494f, "\x08\x09\x97\x2a\x18\x8d\xbb\x4d\x93\xfb\x73\x40\x4c\xcd\x84\xb8\x27\xb1\x11\x71\xdd\x3a\xd7\x93\x2b\xa9\x11\xeb\x5f\xc6\x42\x9d\xc9\xa0\x84\x44\x3c\x60\xfc\xb8")); -rcv($sock_a, $port_b, rtpm(119, 2000, 4000, 0x123494f, "\x08\x09\x97\x2a\x18\x8d\xbb\x4d\x93\xfb\x73\x40\x4c\xcd\x84\xb8\x27\xb1\x11\x71\xdd\x3a\xd7\x93\x2b\xa9\x11\xeb\x5f\xc6\x42\x9d\xc9\xa0\x84\x44\x3c\x60\xfc\xb8")); ($port_b) = answer('opus<>opus+DTMF', { flags => [qw,allow-asymmetric-codecs,] }, <