发送设备信息查询命令 (服务>> 设备)
MESSAGE sip:34020000001320000264@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.135:5060;rport;branch=z9hG4bK818290845
From: <sip:34020000002000000001@3402000000>;tag=23290845
To: <sip:34020000001320000264@3402000000>
Call-ID: 298290845
CSeq: 13 MESSAGE
Max-Forwards: 70
User-Agent: LiveQing
Content-Length: 165
Content-Type: Application/MANSCDP+xml
<?xml version="1.0" encoding="UTF-8"?>
<Query>
<CmdType>DeviceInfo</CmdType>
<SN>340290845</SN>
<DeviceID>34020000001320000264</DeviceID>
</Query>
设备响应回复 (设备>>服务)
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.135:5060;rport=5060;branch=z9hG4bK818290845
From: <sip:34020000002000000001@3402000000>;tag=23290845
To: <sip:34020000001320000264@3402000000>;tag=334737784
Call-ID: 298290845
CSeq: 13 MESSAGE
User-Agent: IP Camera
Content-Length: 0
国标流媒体服务等待设备上传设备信息(设备>>服务)
MESSAGE sip:34020000002000000001@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK431546301
From: <sip:34020000001320000264@3402000000>;tag=1013752338
To: <sip:34020000002000000001@3402000000>
Call-ID: 358460854
CSeq: 20 MESSAGE
Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
User-Agent: IP Camera
Content-Length: 307
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<CmdType>DeviceInfo</CmdType>
<SN>340290845</SN>
<DeviceID>34020000001320000264</DeviceID>
<Result>OK</Result>
<DeviceName>IP CAMERA</DeviceName>
<Manufacturer>Hikvision</Manufacturer>
<Model>DS-2CD2T20FD-I3</Model>
<Firmware>V5.4.41</Firmware>
</Response>