From PersoWiki
Jump to: navigation, search

Linux useful tools (commands)

ngrep -Wbyline host port 5060
tcpdump -ni any port 5060 -vvv and host -s0
tcpdump -i any -s 65535 -w /tmp/tcpdump.pcap
tcpdump -iany -n udp and host -s0 -wcapture.pcap

Using sox

Convert sound file:

sox Charliefaitesle1-new.wav -r 8000 -c 1 -e u-law Charliefaitesle1-2.wav

Trim the end of the sound file

sox Charliefaitesle1.wav Charliefaitesle1-new.wav reverse trim 0.7 reverse