[置顶] 【GBT28181开发:SIP协议实践】之*里程碑*eXosip+SPVMN环境搭建

昨天编译搭建好eXosip的开发环境后,今天完成了SIP注册功能,里程碑一战啊!加油加油,成功就在眼前!


今天基于eXosip做了一个IPC客户端,成功与公安部的SPVMN视频监控联网调测软件自测工具进行注册交互!


客户端Dos界面:

[置顶] 【GBT28181开发:SIP协议实践】之*里程碑*eXosip+SPVMN环境搭建_第1张图片


调测工具服务端消息输出:

REGISTER sip:192.168.10.177:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.177:5061;rport=5061;branch=z9hG4bK3675466093;received=192.168.10.177
From: <sip:[email protected]>;tag=4210464813
To: <sip:[email protected]>
Call-ID: 423467571
CSeq: 1 REGISTER
Contact: <sip:[email protected]:5061;line=ac42de468548252>
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Expires: 3600
Authorization: Capability, algorithm="H:MD5"
Content-Length: 0


SIP/2.0 401 Unauthorized
To: <sip:[email protected]>;tag=82283543_53173353_1041d6a9-d495-4dcf-9359-26d7797910d5
Via: SIP/2.0/UDP 192.168.10.177:5061;rport=5061;branch=z9hG4bK3675466093;received=192.168.10.177
CSeq: 1 REGISTER
Call-ID: 423467571
From: <sip:[email protected]>;tag=4210464813
WWW-Authenticate: Digest realm="3402000000",nonce="8304903d8454ef91"
Content-Length: 0


REGISTER sip:192.168.10.177:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.177:5061;rport=5061;branch=z9hG4bK51426462;received=192.168.10.177
From: <sip:[email protected]>;tag=4210464813
To: <sip:[email protected]>
Call-ID: 423467571
CSeq: 2 REGISTER
Contact: <sip:[email protected]:5061;line=ac42de468548252>
Authorization: Digest username="34020000001320000001",realm="3402000000",nonce="8304903d8454ef91",uri="sip:192.168.10.177:5060",response="ca7b8381310557184cc5ccd2697bba70",algorithm=MD5
Max-Forwards: 70
User-Agent: eXosip/3.6.0
Expires: 3600
Content-Length: 0


SIP/2.0 200 OK
To: <sip:[email protected]>;tag=40411091_53173353_4aeafef2-8b2d-44a5-aac8-821490e15653
Via: SIP/2.0/UDP 192.168.10.177:5061;rport=5061;branch=z9hG4bK51426462;received=192.168.10.177
CSeq: 2 REGISTER
Call-ID: 423467571
From: <sip:[email protected]>;tag=4210464813
Contact: <sip:[email protected]:5061;line=ac42de468548252>
Expires: 3600
Date: 2013-06-26T11:21:50.434
Content-Length: 0

链路管理:

[置顶] 【GBT28181开发:SIP协议实践】之*里程碑*eXosip+SPVMN环境搭建_第2张图片

迈出重要一步,哈哈!

调测工具示意图:


[置顶] 【GBT28181开发:SIP协议实践】之*里程碑*eXosip+SPVMN环境搭建_第3张图片


你可能感兴趣的:(注册,SIP,28181,调测工具)