[Asterisk-Dev] Helps needed for Tethereal and sip

Andrew Pyles andrew.pyles at fonomni.com
Fri Feb 25 19:02:19 MST 2005


I think one of the better tools out there is ngrep.
You can also search by the type of messages.

i.e. ngrep -W byline port 5060 REGISTER
Will show you all text messages. And with the byline option, 
Makes it easier to use.

Regards,
Andy
> -----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 3: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