[Asterisk-Dev] Helps needed for Tethereal and sip

Race Vanderdecken asteriskdev at codetyrant.com
Fri Feb 25 17:54:59 MST 2005


This might be a dumb question but have you tried "*CLI> sip debug"

You are looking to debug remotely though.

Any luck with www.ethereal.com?

Tcpdump will also give you the packets in raw data.

 Tcpdump -X -s0 host 192.168.221.56 and port 5060

-X outputs the ASCII stuff
-s0 tells it to output the entire packet, no length limitation.

Sometimes you just have to work in the nude to get the job done.


Race "The Tyrant" Vandedecken

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of
phu at bevertec.com
Sent: Friday, February 25, 2005 5:39 PM
To: asterisk-dev at lists.digium.com
Subject: [Asterisk-Dev] Helps needed for Tethereal and sip 

Hi, kind huys:

I need to remotely trace sip infomation using Tethereal on Linux
terminal.
The following command line can trace UDP infomation:

 tethereal -V host 192.168.221.56 and port 5060

How can I trace SIP/SDP information using Tethereal command line like:

13 10.513251   10.128.31.64  10.128.30.10 SIP/SDP  Request: INVITE
sip:7819110000 at 10.128.30.10, with session description
  14 10.516436   10.128.30.10  10.128.31.64 SIP      Status: 100 Trying
  16 13.042616   10.128.30.10  10.128.31.64 SIP/SDP  Status: 183 Session
Progress, with session description
 380 19.362790   10.128.30.10  10.128.31.64 SIP/SDP  Status: 200 OK,
with
session description
 381 19.462364   10.128.31.64  10.128.30.10 SIP      Request: ACK
sip:7819110000 at 10.128.30.10:5060

Or any other convenient SIP tracing tools?

Kindly looking forward to your helps!

Paul


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev





More information about the asterisk-dev mailing list