From f23aa26a6dc1cf0c9ad47da8217f9a77564281e7 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 10 Jan 2020 13:09:45 -0500 Subject: [PATCH] TT#74050 add support for `unidirectional` flag to test script Change-Id: I4269fde76e11fe45caecb6957df6234629ef7375 --- utils/rtpengine-ng-client | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/rtpengine-ng-client b/utils/rtpengine-ng-client index 2fbf54ed7..a9b1380a3 100755 --- a/utils/rtpengine-ng-client +++ b/utils/rtpengine-ng-client @@ -25,6 +25,7 @@ GetOptions( 'full-rtcp-attribute' => \$options{'full rtcp attribute'}, 'symmetric' => \$options{'symmetric'}, 'asymmetric' => \$options{'asymmetric'}, + 'unidirectional' => \$options{'unidirectional'}, 'replace-origin' => \$options{'replace-origin'}, 'replace-session-connection' => \$options{'replace-session connection'}, 'client-address=s' => \$options{'client-address'}, @@ -82,7 +83,7 @@ for my $x (split(/,/, 'from-tag,to-tag,call-id,transport protocol,media address, for my $x (split(/,/, 'TOS,delete-delay')) { defined($options{$x}) and $packet{$x} = $options{$x}; } -for my $x (split(/,/, 'trust address,symmetric,asymmetric,force,strict source,media handover,sip source address,reset,port latching,no rtcp attribute,full rtcp attribute,loop protect,record call,always transcode,all,pad crypto,generate mid,fragment,original sendrecv')) { +for my $x (split(/,/, 'trust address,symmetric,asymmetric,unidirectional,force,strict source,media handover,sip source address,reset,port latching,no rtcp attribute,full rtcp attribute,loop protect,record call,always transcode,all,pad crypto,generate mid,fragment,original sendrecv')) { defined($options{$x}) and push(@{$packet{flags}}, $x); } for my $x (split(/,/, 'origin,session connection')) {