diff --git a/support-d/utils/pcap-extract.sh b/support-d/utils/pcap-extract.sh old mode 100644 new mode 100755 index bd95c654ac..7049476853 --- a/support-d/utils/pcap-extract.sh +++ b/support-d/utils/pcap-extract.sh @@ -5,6 +5,8 @@ shift law=$1 shift +if [ -z $pcap ] ; then echo "usage $0 []"; exit 255 ; fi + if [ -z $law ] ; then law="mu-law" ; fi for ssrc in $(tshark -n -r $pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u) ; do