查询目录
MESSAGE sip:35101000002997318110@35.241.211.110:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bK192489696 From: <sip:44000000002020180329@192.168.0.10:5060>;tag=811373956 To: <sip:35101000002997318110@35.241.211.110:5061> Call-ID: 1540337722 CSeq: 20 MESSAGE Content-Type: Application/MANSCDP+xml Max-Forwards: 70 User-Agent: eXosip/4.1.0 Content-Length: 204 <?xml version="1.0" encoding="gb2312" ?> <Query> <CmdType>Catalog</CmdType> <SN>5</SN> <DeviceID>35101000002997318110</DeviceID> <StartTime>0</StartTime> <EndTime>0</EndTime> </Query> SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK192489696;received=35.241.246.10;rport=5060 Call-ID: 1540337722 From: <sip:44000000002020180329@192.168.0.10:5060>;tag=811373956 To: <sip:35101000002997318110@35.241.211.110:5061>;tag=772563ee2e054cd2812d2e23e2172400-1615445883534 CSeq: 20 MESSAGE Content-Length: 0 MESSAGE sip:44000000002020180329@35.241.246.10:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bK-373238-775d171575e6fdef4707dd4316d5b53d;X-HwDim=4 Call-ID: bf2825ab4e4053336a6e506e270a0d84@35.241.211.110 From: <sip:35101000002997318110@3510100000>;tag=9ab1ad68b947424c879b668b9ac5b698-1615445883538 To: <sip:44000000002020180329@4400000000> CSeq: 1 MESSAGE Max-Forwards: 70 Content-Length: 190 Content-Type: application/MANSCDP+xml <?xml version="1.0" encoding="GB2312"?> <Response> <CmdType>Catalog</CmdType> <SN>5</SN> <DeviceID>35101000002997318110</DeviceID> <Result>OK</Result> <SumNum>0</SumNum> </Response>
查询目录指令<CmdType>Catalog</CmdType>
查询结果<SumNum>0</SumNum>
订阅目录指令SUBSCRIBE sip:35101000002997318110@35.241.211.110:5061SIP/2.0 200 OK Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bK-373238-775d171575e6fdef4707dd4316d5b53d;X-HwDim=4 From: <sip:35101000002997318110@3510100000>;tag=9ab1ad68b947424c879b668b9ac5b698-1615445883538 To: <sip:44000000002020180329@4400000000>;tag=540338482 Call-ID: bf2825ab4e4053336a6e506e270a0d84@35.241.211.110 CSeq: 1 MESSAGE User-Agent: eXosip/4.1.0 Content-Length: 0 SUBSCRIBE sip:35101000002997318110@35.241.211.110:5061 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.10:5060;rport;branch=z9hG4bK28594425 From: <sip:44000000002020180329@192.168.0.10:5060>;tag=1263727637 To: <sip:35101000002997318110@35.241.211.110:5061> Call-ID: 1480690566 CSeq: 20 SUBSCRIBE Contact: <sip:44000000002020180329@192.168.0.10:5060> Content-Type: Application/MANSCDP+xml Max-Forwards: 70 User-Agent: eXosip/4.1.0 Expires: 3600 Event: presence Content-Length: 204 <?xml version="1.0" encoding="gb2312" ?> <Query> <CmdType>Catalog</CmdType> <SN>6</SN> <DeviceID>35101000002997318110</DeviceID> <StartTime>0</StartTime> <EndTime>0</EndTime> </Query> SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.10:5060;branch=z9hG4bK28594425;received=35.241.246.10;rport=5060 Call-ID: 1480690566 From: <sip:44000000002020180329@192.168.0.10:5060>;tag=1263727637 To: <sip:35101000002997318110@35.241.211.110:5061>;tag=eec60c77a8034ca09fd5c88ad9da6e7d-1615445883555 CSeq: 20 SUBSCRIBE Expires: 3600 Contact: <sip:35101000002997318110@35.241.211.110:5061> Content-Length: 157 Content-Type: application/MANSCDP+xml <?xml version="1.0" encoding="GB2312"?> <Response><CmdType>Catalog</CmdType><SN>6</SN><DeviceID>35101000002997318110</DeviceID><Result>OK</Result></Response>NOTIFY sip:44000000002020180329@35.241.246.10:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bKtk4vq6piwwwkpiutxstk6663k Call-ID: 1480690566 From: <sip:35101000002997318110@35.241.211.110:5061>;tag=eec60c77a8034ca09fd5c88ad9da6e7d-1615445883555 To: <sip:44000000002020180329@192.168.0.10:5060>;tag=1263727637 CSeq: 1 NOTIFY Max-Forwards: 70 Contact: <sip:35101000002997318110@35.241.211.110:5061> Event: presence Subscription-State: active;expires=600;retry-after=1 Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bKtk4vq6piwwwkpiutxstk6663k From: <sip:35101000002997318110@35.241.211.110:5061>;tag=eec60c77a8034ca09fd5c88ad9da6e7d-1615445883555 To: <sip:44000000002020180329@192.168.0.10:5060>;tag=1263727637 Call-ID: 1480690566 CSeq: 1 NOTIFY User-Agent: eXosip/4.1.0 Content-Length: 0 MESSAGE sip:44000000002020180329@35.241.246.10:5060;transport=udp SIP/2.0 Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bK-373238-f79114399169f1aa613da74199c9f7ec;X-HwDim=4 Call-ID: 2f5f3e3f90f0cdddb5c6c216eab81e5b@35.241.211.110 From: <sip:35101000002997318110@3510100000>;tag=6ac552cdc128498cbd256250462345c1-1615445899114 To: <sip:44000000002020180329@4400000000> CSeq: 1 MESSAGE Max-Forwards: 70 Content-Length: 155 Content-Type: application/MANSCDP+xml <?xml version="1.0" encoding="GB2312"?> <Notify><CmdType>Keepalive</CmdType><SN>8</SN><DeviceID>35101000002997318110</DeviceID><Status>OK</Status></Notify>SIP/2.0 200 OK Via: SIP/2.0/UDP 35.241.211.110:5061;branch=z9hG4bK-373238-f79114399169f1aa613da74199c9f7ec;X-HwDim=4 From: <sip:35101000002997318110@3510100000>;tag=6ac552cdc128498cbd256250462345c1-1615445899114 To: <sip:44000000002020180329@4400000000>;tag=2141818961 Call-ID: 2f5f3e3f90f0cdddb5c6c216eab81e5b@35.241.211.110 CSeq: 1 MESSAGE User-Agent: eXosip/4.1.0 Content-Length: 0