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: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to