数据包 #
Register #
request: Register (no auth) #
Frame 2117: 442 bytes on wire (3536 bits), 442 bytes captured (3536 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (REGISTER)
Request-Line: REGISTER sip:34020000002000000001@3402000000 SIP/2.0
Method: REGISTER
Request-URI: sip:34020000002000000001@3402000000
[Resent Packet: True]
[Suspected resend of frame: 1613]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport;branch=z9hG4bK1935014795
From: <sip:34020000001320000001@3402000000>;tag=496441511
To: <sip:34020000001320000001@3402000000>
Call-ID: 1188137981
CSeq: 1 REGISTER
Contact: <sip:[email protected]:5060>
Max-Forwards: 70
User-Agent: IP Camera
Expires: 3600
Content-Length: 0
response: 401 #
Frame 2121: 524 bytes on wire (4192 bits), 524 bytes captured (4192 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (401)
Status-Line: SIP/2.0 401 Unauthorized
Status-Code: 401
[Resent Packet: False]
[Request Frame: 1613]
[Response Time (ms): 15594]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport=47918;received=192.168.64.3;branch=z9hG4bK1935014795
From: <sip:34020000001320000001@3402000000>;tag=496441511
To: <sip:34020000001320000001@3402000000>;tag=697042285
CSeq: 1 REGISTER
Call-ID: 1188137981
User-Agent: LiveGBS v200603
Contact: <sip:[email protected]:15060>
Content-Length: 0
WWW-Authenticate: Digest realm="3402000000",qop="auth",nonce="a1b6ba00d8cbaa8ce99d1d39b2905d12"
request: register (auth) #
Frame 2122: 704 bytes on wire (5632 bits), 704 bytes captured (5632 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (REGISTER)
Request-Line: REGISTER sip:34020000002000000001@3402000000 SIP/2.0
Method: REGISTER
Request-URI: sip:34020000002000000001@3402000000
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport;branch=z9hG4bK2038639153
From: <sip:34020000001320000001@3402000000>;tag=496441511
To: <sip:34020000001320000001@3402000000>
Call-ID: 1188137981
CSeq: 2 REGISTER
Contact: <sip:[email protected]:5060>
[truncated]Authorization: Digest username="34020000001320000001", realm="3402000000", nonce="a1b6ba00d8cbaa8ce99d1d39b2905d12", uri="sip:34020000002000000001@3402000000", response="487b46591eae35a8d8f684db454ec471", algorithm=MD5, cnonce
Max-Forwards: 70
User-Agent: IP Camera
Expires: 3600
Content-Length: 0
response: 200 #
Frame 2123: 463 bytes on wire (3704 bits), 463 bytes captured (3704 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 2122]
[Response Time (ms): 17]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport=60954;received=192.168.64.3;branch=z9hG4bK2038639153
From: <sip:34020000001320000001@3402000000>;tag=496441511
To: <sip:34020000001320000001@3402000000>;tag=410042311
CSeq: 2 REGISTER
Call-ID: 1188137981
User-Agent: LiveGBS v200603
Contact: <sip:[email protected]:15060>
Content-Length: 0
Date: 2020-06-09T14:09:01.830
Expires: 3600
remove 1 binding #
有 remove 1 binding, 然后重新 register 的现象
Message Header:
- CSeq 加 1,
- Contact 的
expires=0
Message #
request: sip server -> ipc #
Frame 2136: 571 bytes on wire (4568 bits), 571 bytes captured (4568 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (MESSAGE)
Request-Line: MESSAGE sip:34020000001320000001@3402000000 SIP/2.0
Method: MESSAGE
Request-URI: sip:34020000001320000001@3402000000
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport;branch=z9hG4bK268043391
From: <sip:34020000002000000001@3402000000>;tag=181043391
To: <sip:34020000001320000001@3402000000>
Call-ID: 44043391
CSeq: 1 MESSAGE
Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
User-Agent: LiveGBS v200603
Content-Length: 162
Message Body
<?xml version="1.0" encoding="UTF-8"?>\r\n
<Query>\r\n
<CmdType>Catalog</CmdType>\r\n
<SN>445043391</SN>\r\n
<DeviceID>34020000001320000001</DeviceID>\r\n
</Query>\r\n
response: ipc -> sip server #
Frame 2137: 352 bytes on wire (2816 bits), 352 bytes captured (2816 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 2136]
[Response Time (ms): 5]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport=5060;branch=z9hG4bK268043391;received=192.168.137.105
From: <sip:34020000002000000001@3402000000>;tag=181043391
To: <sip:34020000001320000001@3402000000>;tag=2000290983
Call-ID: 44043391
CSeq: 1 MESSAGE
User-Agent: IP Camera
Content-Length: 0
request: ipc -> sip server #
Frame 2138: 1001 bytes on wire (8008 bits), 1001 bytes captured (8008 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (MESSAGE)
Request-Line: MESSAGE sip:34020000002000000001@3402000000 SIP/2.0
Method: MESSAGE
Request-URI: sip:34020000002000000001@3402000000
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport;branch=z9hG4bK461606833
From: <sip:34020000001320000001@3402000000>;tag=106117409
To: <sip:34020000002000000001@3402000000>
Call-ID: 2113631911
CSeq: 20 MESSAGE
Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
User-Agent: IP Camera
Content-Length: 591
Message Body
<?xml version="1.0" encoding="GB2312"?>\n
<Response>\n
<CmdType>Catalog</CmdType>\n
<SN>445043391</SN>\n
<DeviceID>34020000001320000001</DeviceID>\n
<SumNum>1</SumNum>\n
<DeviceList Num="1">\n
<Item>\n
<DeviceID>34020000001320000001</DeviceID>\n
<Name>Camera 01</Name>\n
<Manufacturer>Hikvision</Manufacturer>\n
<Model>IP Camera</Model>\n
<Owner>Owner</Owner>\n
<CivilCode>3402000000</CivilCode>\n
<Address>Address</Address>\n
<Parental>0</Parental>\n
<ParentID>34020000002000000001</ParentID>\n
<SafetyWay>0</SafetyWay>\n
<RegisterWay>1</RegisterWay>\n
<Secrecy>0</Secrecy>\n
<Status>ON</Status>\n
</Item>\n
</DeviceList>\n
</Response>\n
request: sip server -> ipc #
Frame 2139: 360 bytes on wire (2880 bits), 360 bytes captured (2880 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 2138]
[Response Time (ms): 16]
Message Header
Via: SIP/2.0/UDP 192.168.137.109:5060;rport=60954;received=192.168.64.3;branch=z9hG4bK461606833
From: <sip:34020000001320000001@3402000000>;tag=106117409
To: <sip:34020000002000000001@3402000000>;tag=443043407
CSeq: 20 MESSAGE
Call-ID: 2113631911
User-Agent: LiveGBS v200603
Content-Length: 0
Invite #
request: sip server -> ipc (SIP/SDP) #
Frame 288: 746 bytes on wire (5968 bits), 746 bytes captured (5968 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (INVITE)
Request-Line: INVITE sip:34020000001320000001@3402000000 SIP/2.0
Method: INVITE
Request-URI: sip:34020000001320000001@3402000000
[Resent Packet: False]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport;branch=z9hG4bK685516389
From: <sip:34020000002000000001@3402000000>;tag=171516389
To: <sip:34020000001320000001@3402000000>
Call-ID: 16516245
CSeq: 4 INVITE
Content-Type: APPLICATION/SDP
Contact: <sip:[email protected]:15060>
Max-Forwards: 70
User-Agent: LiveGBS v200603
Subject: 34020000001320000001:0200000001,34020000002020000001:0
Content-Length: 226
Message Body
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): 34020000002000000001 0 0 IN IP4 192.168.137.105
Session Name (s): Play
Connection Information (c): IN IP4 192.168.137.105
Time Description, active time (t): 0 0
Media Description, name and address (m): video 30000 RTP/AVP 96 97 98
Media Attribute (a): recvonly
Media Attribute (a): rtpmap:96 PS/90000
Media Attribute (a): rtpmap:97 MPEG4/90000
Media Attribute (a): rtpmap:98 H264/90000
Unknown: y=0200000001
response: 100 Trying (ipc -> sip server, SIP) #
Frame 295: 340 bytes on wire (2720 bits), 340 bytes captured (2720 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (100)
Status-Line: SIP/2.0 100 Trying
Status-Code: 100
[Resent Packet: False]
[Request Frame: 288]
[Response Time (ms): 16]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport=5060;branch=z9hG4bK685516389;received=192.168.137.105
From: <sip:34020000002000000001@3402000000>;tag=171516389
To: <sip:34020000001320000001@3402000000>
Call-ID: 16516245
CSeq: 4 INVITE
User-Agent: IP Camera
Content-Length: 0
response: 200 (ipc -> sip server, SIP/SDP) #
Frame 297: 632 bytes on wire (5056 bits), 632 bytes captured (5056 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (200)
Status-Line: SIP/2.0 200 OK
Status-Code: 200
[Resent Packet: False]
[Request Frame: 288]
[Response Time (ms): 20]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport=5060;branch=z9hG4bK685516389;received=192.168.137.105
From: <sip:34020000002000000001@3402000000>;tag=171516389
To: <sip:34020000001320000001@3402000000>;tag=614786748
Call-ID: 16516245
CSeq: 4 INVITE
Contact: <sip:[email protected]:55302>
Content-Type: application/sdp
User-Agent: IP Camera
Content-Length: 191
Message Body
Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): 34020000001320000001 2346 2346 IN IP4 192.168.137.109
Session Name (s): Play
Connection Information (c): IN IP4 192.168.137.109
Time Description, active time (t): 0 0
Media Description, name and address (m): video 15060 RTP/AVP 96
Media Attribute (a): sendonly
Media Attribute (a): rtpmap:96 PS/90000
Media Attribute (a): filesize:0
Unknown: y=0200000001
ACK #
request: sip server -> ipc (SIP) #
Frame 298: 430 bytes on wire (3440 bits), 430 bytes captured (3440 bits) on interface 0
Ethernet II, Src: Apple_70:23:0d (88:e9:fe:70:23:0d), Dst: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52)
Internet Protocol Version 4, Src: 192.168.137.105, Dst: 192.168.137.109
User Datagram Protocol, Src Port: 5060, Dst Port: 5060
Session Initiation Protocol (ACK)
Request-Line: ACK sip:34020000001320000001@3402000000 SIP/2.0
Method: ACK
Request-URI: sip:34020000001320000001@3402000000
[Resent Packet: False]
[Request Frame: 288]
[Response Time (ms): 61]
Message Header
Via: SIP/2.0/UDP 192.168.64.3:15060;rport;branch=z9hG4bK193516446
From: <sip:34020000002000000001@3402000000>;tag=171516389
To: <sip:34020000001320000001@3402000000>;tag=614786748
Call-ID: 16516245
CSeq: 4 ACK
Contact: <sip:[email protected]:15060>
Max-Forwards: 70
User-Agent: LiveGBS v200603
Content-Length: 0
RTP #
ipc -> sip server #
Sequence number
递增
Frame 299: 1454 bytes on wire (11632 bits), 1454 bytes captured (11632 bits) on interface 0
Ethernet II, Src: 98:df:82:6d:9e:52 (98:df:82:6d:9e:52), Dst: Apple_70:23:0d (88:e9:fe:70:23:0d)
Internet Protocol Version 4, Src: 192.168.137.109, Dst: 192.168.137.105
User Datagram Protocol, Src Port: 15060, Dst Port: 30000
Real-Time Transport Protocol
[Stream setup by SDP (frame 288)]
10.. .... = Version: RFC 1889 Version (2)
..0. .... = Padding: False
...0 .... = Extension: False
.... 0000 = Contributing source identifiers count: 0
0... .... = Marker: False
Payload type: PS (96)
Sequence number: 0
[Extended sequence number: 65536]
Timestamp: 0
Synchronization Source identifier: 0x0bebc201 (200000001)
Payload: 000001ba6e617c97940107599ffeffff01f2c2b4000001bb...
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。