#!/usr/bin/perl use strict; use warnings; use NGCP::Rtpengine::Test; use NGCP::Rtpclient::SRTP; use NGCP::Rtpengine::AutoTest; use Test::More; use NGCP::Rtpclient::ICE; use POSIX; autotest_start(qw(--config-file=none -t -1 -i 203.0.113.1 -i 2001:db8:4321::1 -i foo/203.0.113.7 -i bar/203.0.113.8 -n 2223 -c 12345 -f -L 7 -E -u 2222 --silence-detect=1 --log-level-internals=7)) or die; # SDP version tests new_call; offer('SDP version simple increments', { replace => ['SDP version'] }, < ['SDP version'] }, < ['SDP version'] }, < ['SDP version'] }, < ['SDP version'] }, < ['SDP version'] }, <last_out_sdp', but the version still gets increased offer('SDP version force increase', { replace => ['force-increment-sdp-ver'] }, <last_out_sdp' and it's equal to the newly given SDP, # but the version still gets increased offer('SDP version force increase', { replace => ['force-increment-sdp-ver'] }, <last_out_sdp' and it's not equal to the newly given SDP, # and the version gets increased, as if that would be increased with 'sdp-version'. offer('SDP version force increase', { replace => ['force-increment-sdp-ver'] }, < ['username'] }, < 'remove' }, < ['username'] }, < 'remove' }, < ['username'] }, < 'remove' }, < ['SDP version', 'origin', 'username', 'session-name'] }, < ['SDP version', 'origin', 'username', 'session-name'] }, < ['SDP version', 'origin', 'username', 'session-name'] }, < ['origin-full'] }, < ['origin-full'] }, < ['origin-full'] }, <