TB30s SIP Administrator Guide v1.3 Page 192 of 259
Tracing tool
Tracing tool is a new feature that allows administrators to get SIP level
traces remotely. Through telnet phone interface, sent and received SIP
messages flow can be obtained. SIP data provided by this tool is shown split
in headers and packet body as follows:
Recv from udp: 10.0.0.5:5060 00:00:00:01:066 (937 bytes)
INVITE sip:2205@10.0.0.55:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.0.5:5060;branch=z9hG4bK2b55f27f;rport
From: "Thomson-2204" <sip:2204@10.0.0.5>;tag=as1b93c676
To: <sip:2205@10.0.0.55:5060>
Contact: <sip:2204@10.0.0.5>
Call-ID: 7b068be424cee3565279b5cb075e248b@10.0.0.5
CSeq: 102 INVITE
User-Agent: Asterisk 1.4.11
Max-Forwards: 70
Remote-Party-ID: "Thomson-2204" <sip:2204@10.0.0.5>;privacy=off;screen=no
Date: Mon, 14 Jan 2008 14:17:14 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Alert-Info: <http://notused.com>;info=Clocks
P-Asserted-Identity: <sip:Asterisk@10.0.0.5>
Content-Type: application/sdp
Content-Length: 254
v=0
o=root 2036 2036 IN IP4 10.0.0.5
s=session
c=IN IP4 10.0.0.5
t=0 0
m=audio 17836 RTP/AVP 0 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
At first glance it can be noted there are two parts in the information for each
packet.
The first one includes:
- packet sent or received
- destination address and port (for a sent packet) or source (for received
packet).
- a time stamp, to locate the packets in the real time
- packet size
Second part is packet content itself.