From 37afe18840771ad034b92e7e5661a0b928e585e3 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Wed, 26 Mar 2025 14:52:16 +0100 Subject: [PATCH] MT#62272 auto-daemon-tests-moh: allocate different ports for sockets For each new MoH test take a new pair of ports. Change-Id: I980707da44764d629ee323f95b2c5c133b7febfb --- t/auto-daemon-tests-moh.pl | 88 +++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/t/auto-daemon-tests-moh.pl b/t/auto-daemon-tests-moh.pl index 0e2c1a068..0180b1878 100644 --- a/t/auto-daemon-tests-moh.pl +++ b/t/auto-daemon-tests-moh.pl @@ -25,7 +25,7 @@ is length($wav_file), 1644, 'embedded binary wav file'; # test MoH -($sock_a, $sock_b) = new_call([qw(198.51.100.1 33041)], [qw(198.51.100.3 33042)]); +($sock_a, $sock_b) = new_call([qw(198.51.100.1 33040)], [qw(198.51.100.3 33042)]); # declare that offerer is capable of moh offer('Music on hold - sendrecv', { ICE => 'remove', DTLS => 'off', moh => { blob => $wav_file } }, < 'remove', DTLS => 'off', moh => { blob => $wav_file, connection => 'zero' } }, < 'remove', DTLS => 'off', moh => { blob => $wav_file, mode => 'sendrecv' } }, < 'remove', DTLS => 'off', moh => { blob => $wav_file, connection => 'zero', mode => 'sendrecv' } }, < 'remove', DTLS => 'off', moh => { 'db-id' => '123' } }, < 'remove', DTLS => 'off', moh => { 'db-id' => '123' } }, < 'remove', DTLS => 'off', moh => { blob => $wav_file } }, <