|
|
|
@ -74,6 +74,8 @@ GetOptions( |
|
|
|
'T38=s@' => \$options{'T.38'}, |
|
|
|
'code=s' => \$options{'code'}, |
|
|
|
'OSRTP=s@' => \$options{'OSRTP'}, |
|
|
|
'symmetric-codecs' => \$options{'symmetric codecs'}, |
|
|
|
'asymmetric-codecs' => \$options{'asymmetric codecs'}, |
|
|
|
) or die; |
|
|
|
|
|
|
|
my $cmd = shift(@ARGV) or die; |
|
|
|
@ -86,7 +88,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,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')) { |
|
|
|
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,symmetric codecs,asymmetric codecs')) { |
|
|
|
defined($options{$x}) and push(@{$packet{flags}}, $x); |
|
|
|
} |
|
|
|
for my $x (split(/,/, 'origin,session connection')) { |
|
|
|
|