mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 01:06:00 +00:00
doh
This commit is contained in:
parent
6a82785021
commit
be7826a24f
2
support-d/utils/pcap-extract.sh
Normal file → Executable file
2
support-d/utils/pcap-extract.sh
Normal file → Executable file
@ -5,6 +5,8 @@ shift
|
|||||||
law=$1
|
law=$1
|
||||||
shift
|
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
|
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
|
for ssrc in $(tshark -n -r $pcap -Y rtp -T fields -e rtp.ssrc -Eseparator=, | sort -u) ; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user