From 96101f609ae83e089c288c1035df11f54a9a4e6e Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Wed, 25 Jan 2023 15:06:25 -0500 Subject: [PATCH] MT#55283 add cid() wrapper to test framework Returns the current random call ID Change-Id: I943868fdfa1ce1b906ffc3221b244ec6dca2712f --- perl/NGCP/Rtpengine/AutoTest.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl/NGCP/Rtpengine/AutoTest.pm b/perl/NGCP/Rtpengine/AutoTest.pm index 4b8a1b5e1..e72e17452 100644 --- a/perl/NGCP/Rtpengine/AutoTest.pm +++ b/perl/NGCP/Rtpengine/AutoTest.pm @@ -20,7 +20,7 @@ our $launch_cb; BEGIN { require Exporter; @ISA = qw(Exporter); - our @EXPORT = qw(autotest_start new_call offer answer ft tt snd srtp_snd rtp rcv srtp_rcv rcv_no + our @EXPORT = qw(autotest_start new_call offer answer ft tt cid snd srtp_snd rtp rcv srtp_rcv rcv_no srtp_dec escape rtpm rtpmre reverse_tags new_ft new_tt crlf sdp_split rtpe_req offer_answer autotest_init subscribe_request subscribe_answer publish use_json); }; @@ -283,6 +283,7 @@ sub rtpm { sub ft { return $ft; } sub tt { return $tt; } +sub cid { return $cid; } sub reverse_tags { ($tt, $ft) = ($ft, $tt);