Debugging with tcpdump
From Yate Documentation
For Linux, there's the very useful tcpdump program
tcpdump -pa -s0 -w tcpdump-4.cap
The command above captures all traffic:
- in full length (-s0)
- in non-promiscious mode (-p),
- with adress resolution (-a)
- to a file by the name of tcpdump-4.cap.
After you've captured enough traffic, generating events like calls or whatever, you can use Wireshark to analyse your traffic.
Wireshark is GPL, like YATE, and it's an amazing product - you actually can listen to the calls you or your customers made; you can see a diagram of the messages sent and so on! It really helps a lot with debugging, and is IMHO easier than messing around with yate -vvvvv
See also