title: Capture RTP and SIP Traffic using tcpdump
body: <p>I need to capture SIP and RTP traffic to find a problem with something. I can capture SIP messages fine but am having a problem with capturing the RTP traffic. </p>
  
  <p>I've tried the following but this is only getting out the SIP packages and no RTP.</p>
  
  <blockquote>
    <p>tcpdump -T rtp -vvv src -s 1500 -i any -w /home/lantrace_test2.pcap
    port 5060</p>
  </blockquote>
  
  <p>The other way I was thinking of doing it is as rtp uses a range of UDP ports, capturing the range that we are using for the RTP traffic but I can't find a way of capturing a range of ports so not sure if tcpdump supports port ranges for capture</p>
  
  <p>Thanks for any help you can provide</p>