Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 00:46:02 -0800
From:      Bruce Ferrell <bferrell@baywinds.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Tracing packets - asterisk issues
Message-ID:  <4D3E8DCA.1020304@baywinds.org>
In-Reply-To: <4D3E782F.5040203@herveybayaustralia.com.au>
References:  <4D3E782F.5040203@herveybayaustralia.com.au>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 01/24/2011 11:13 PM, Da Rock wrote:
> I have been trying to get some pointers on my asterisk issues and I've
> only been hearing crickets chirping (Asterisk list and here). I need a
> pointer or two so I can fix this issue, so I'll try another angle.
>
> How do I trace IP packets across the network (pf firewall included)?
> And would it be possible to read it visually (human readable)?
>
> Cheers
Use tcpdump to do a capture file.  something like this:

tcpdump -i eth0 -n -s 1500 -w sip.cap

then feed sip.cap to wireshark

filter for SIP and observe the SIP conversation

It's also possible to decode the RTP stream



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4D3E8DCA.1020304>