GB28181注冊區分需要認證和無需認證
LiveGBS國标流媒體服務基礎配置頁面預設接入密碼是:12345678 。如果不需要接入認證的話可以把接入密碼填空。

注冊流程
當密碼不為空時即需要接入認證,注冊流程會分為如下4個步驟
1. 等待無鑒權注冊 (裝置>>服務)
REGISTER sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK1235305492
From: <sip:[email protected]>;tag=180588994
To: <sip:[email protected]>
Call-ID: 575393982
CSeq: 1 REGISTER
Contact: <sip:3402[email protected]:5060>
Max-Forwards: 70
User-Agent: IP Camera
Expires: 3600
Content-Length: 0
2. 國标流媒體服務響應(服務>>裝置)
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK1235305492
From: <sip:[email protected]>;tag=180588994
To: <sip:[email protected]>;tag=776284809
CSeq: 1 REGISTER
Call-ID: 575393982
User-Agent: LiveQing
Contact: <sip:[email protected]:5060>
Content-Length: 0
WWW-Authenticate: Digest realm="3402000000",qop="auth",nonce="6eb1340d99c404a0e4d3b68d15d1d46f"
3. 等待有鑒權注冊(裝置>>服務)
REGISTER sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK173969927
From: <sip:[email protected]>;tag=180588994
To: <sip:[email protected]>
Call-ID: 575393982
CSeq: 2 REGISTER
Contact: <sip:[email protected]:5060>
Authorization: Digest username="34020000001320000264", realm="3402000000", nonce="6eb1340d99c404a0e4d3b68d15d1d46f", uri="sip:[email protected]", response="4c97657aa0412c25d4b862219b635c17", algorithm=MD5, cnonce="0a4f113b", qop=auth, nc=00000001
Max-Forwards: 70
User-Agent: IP Camera
Expires: 3600
Content-Length: 0
4. 服務響應 (服務>>裝置)
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.2.64:5060;rport=5060;received=192.168.2.64;branch=z9hG4bK173969927
From: <sip:[email protected]>;tag=180588994
To: <sip:[email protected]>;tag=368284899
CSeq: 2 REGISTER
Call-ID: 575393982
User-Agent: LiveQing
Contact: <sip:[email protected]:5060>
Content-Length: 0
Date: 2019-08-07T13:56:20.643
Expires: 3600
如果沒有接入密碼為空,即不需要接入認證的話,隻有第1、4兩個步驟就注冊成功拉。