[asterisk-users] OT: Capture Asterisk traffic

CSB cameron.beattie at appsteam.co.nz
Wed May 2 01:52:42 MST 2007


>
> Well, the first thing I notice is that your first tcpdump example is
> listening on eth0, and the second is listening on eth1.
>
> What happens when you do
>
> tcpdump -i eth1 -s 0 -w /tmp/tcpdump.1
>
> Do you see the RTP traffic then?
>
Thanks

That was a typo. Should have read:
The following works:
tcpdump -i eth1 -s 0 -w /tmp/tcpdump.1

But I want to be a bit more selective:
tcpdump -C 100 -W 10 -w /tmp/tcpdump -i eth1 -s 0 udp and dst port >= 5060

This doesn't capture the RTP traffic. Could anyone advise what I'm doing 
wrong or suggest a better way?

Cameron



More information about the asterisk-users mailing list