[Asterisk-Users] SIP debug logs

Ejay Hire ejay.hire at isdn.net
Tue Feb 3 11:04:13 MST 2004


When troubleshooting, I'll often 
"tcpdump -s 0 -w filename.cap -p host (ipaddressofphone)"

To capture the entire contents of all packets from or to
ipaddressofphone non-promiscuously to filename.cap.  Since
my workstation is Win*, I have to sz to move the capture
over to my desktop and then open it in Ethereal.  

This is really helpful when you are working with NAT issues.
I.e. some netgear boxes badger up UDP checksums, and this is
the easy way to see it.

-ejay

> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com 
> [mailto:asterisk-users-admin at lists.digium.com] On Behalf
Of 
> James H. Cloos Jr.
> Sent: Tuesday, February 03, 2004 10:47 AM
> To: Asterisk-Users
> Subject: Re: [Asterisk-Users] SIP debug logs
> 
> >>>>> "Steve" == Steve Foy <steve at unite.net> writes:
> 
> Steve> Is there a way of logging all SIP debuging info to
a file
> Steve> somewhere?
> 
> Use tethereal or tcpdump to log sip (and/or rtp/rtcp)
packets to a
> pcap file, then use ethereal (presumably on a different
box) to view
> them.
> 
> -JimC
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list