发送国标配置查询命令 (服务>>设备)
MESSAGE sip:34020000001320000264@3402000000 SIP/2.0
Via: SIP/2.0/UDP 192.168.2.135:5060;rport;branch=z9hG4bK791294132
From: <sip:34020000002000000001@3402000000>;tag=763294132
To: <sip:34020000001320000264@3402000000>
Call-ID: 292294132
CSeq: 16 MESSAGE
Max-Forwards: 70
User-Agent: LiveQing
Content-Length: 210
Content-Type: Application/MANSCDP+xml
<?xml version="1.0" encoding="UTF-8"?>
<Query>
<CmdType>ConfigDownload</CmdType>
<SN>340294132</SN>
<DeviceID>34020000001320000264</DeviceID>
<ConfigType>BasicParam</ConfigType>
</Query>
设备响应 (设备>>服务)
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.135:5060;rport=5060;branch=z9hG4bK791294132
From: <sip:34020000002000000001@3402000000>;tag=763294132
To: <sip:34020000001320000264@3402000000>;tag=1535845573
Call-ID: 292294132
CSeq: 16 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=z9hG4bK228649449
From: <sip:34020000001320000264@3402000000>;tag=1982076896
To: <sip:34020000002000000001@3402000000>
Call-ID: 1240381116
CSeq: 20 MESSAGE
Content-Type: Application/MANSCDP+xml
Max-Forwards: 70
User-Agent: IP Camera
Content-Length: 567
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<CmdType>ConfigDownload</CmdType>
<SN>340294132</SN>
<DeviceID>34020000001320000264</DeviceID>
<Result>OK</Result>
<BasicParam>
<Name>IP CAMERA</Name>
<DeviceID>34020000001320000264</DeviceID>
<SIPServerID>34020000002000000001</SIPServerID>
<SIPServerIP>192.168.2.135</SIPServerIP>
<SIPServerPort>5060</SIPServerPort>
<DomainName>3402000000</DomainName>
<Expiration>3600</Expiration>
<Password>12345678</Password>
<HeartBeatInterval>60</HeartBeatInterval>
<HeartBeatCount>3</HeartBeatCount>
</BasicParam>
</Response>
服务端响应 (服务>>设备)
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK228649449
From: <sip:34020000001320000264@3402000000>;tag=1982076896
To: <sip:34020000002000000001@3402000000>;tag=780294222
CSeq: 20 MESSAGE
Call-ID: 1240381116
User-Agent: LiveQing
Content-Length: 0