[asterisk-users] OT: Capture Asterisk traffic

Bruce Reeves asterisk at nortex-networks.com
Tue May 1 11:47:08 MST 2007


The RTP traffic is not going to be on port 5060, that is the sip only. Check
your rtp.conf file in asterisk for the port range used for RTP traffic.

On 5/1/07, CSB <cameron.beattie at appsteam.co.nz> wrote:
>
> I want to capture all my Asterisk traffic (including RTP) and then analyse
> it.
>
> My plan was to use tcpdump and then analyse with Wireshark. The following
> works:
> tcpdump -i eth0 -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?
>
> Thanks
>
> Cameron
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Bruce Reeves
Nortex Networks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070501/74775e13/attachment.htm


More information about the asterisk-users mailing list