]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2016 22:43:39 +0000 (17:43 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 30 Mar 2016 22:43:39 +0000 (17:43 -0500)
support-d/utils/pcap-extract.sh [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index bd95c65..7049476
@@ -5,6 +5,8 @@ shift
 law=$1
 shift
 
+if [ -z $pcap ] ; then echo "usage $0 <pcap file> [<mu-law|a-law>]"; 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