register 报文(没带鉴权消息)
REGISTER sip:153.32.32.43 SIP/2.0
Via: SIP/2.0/TCP 192.168.2.111:52779;branch=z9hG4bK-1659077649;rport
From: <sip:mutongye@153.32.32.43>;tag=234366863
To: <sip:mutongye@153.32.32.43>
Contact: <sip:mutongye@192.168.2.111:52779;transport=tcp>;expires=3200;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
Call-ID: abaf77aa-bc9f-2d27-bbd8-5b2627676226
CSeq: 1235408766 REGISTER
Content-Length: 0
Max-Forwards: 70
Authorization: Digest username="mutongye",realm="153.32.32.43",nonce="",uri="sip:153.32.32.43",response=""
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: 0B77BD45-5890-4445-A9DD-45FE7F582AA6
Event: user-confirmed-register
P-Preferred-Identity: <sip:mutongye@153.32.32.43>
Supported: path
401报文
SIP/2.0 401 Unauthorized
Via: SIP/2.0/TCP 192.168.2.111:52779;received=183.237.185.21;branch=z9hG4bK-1659077649;rport=14033
From: <sip:mutongye@153.32.32.43>;tag=234366863
To: <sip:mutongye@153.32.32.43>;tag=ea9c7359207ac8fa6abd04538ec56b87.68bd
Call-ID: abaf77aa-bc9f-2d27-bbd8-5b2627676226
CSeq: 1235408766 REGISTER
WWW-Authenticate: Digest realm="172.16.5.161", nonce="55ac5f8e0000e3d4cc310354889b28c49b8a7c4a5cbded90"
Server: OpenSIPS (1.9.1-notls (x86_64/linux))
Content-Length: 0
register报文
REGISTER sip:153.32.32.43 SIP/2.0
Via: SIP/2.0/TCP 192.168.2.111:52779;branch=z9hG4bK-560215697;rport
From: <sip:mutongye@153.32.32.43>;tag=234366863
To: <sip:mutongye@153.32.32.43>
Contact: <sip:mutongye@192.168.2.111:52779;transport=tcp>;expires=3200;+g.oma.sip-im;language="en,fr";+g.3gpp.smsip;+g.oma.sip-im.large-message;audio;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-application.ims.iari.gsma-vs";+g.3gpp.cs-voice
Call-ID: abaf77aa-bc9f-2d27-bbd8-5b2627676226
CSeq: 1235408767 REGISTER
Content-Length: 0
Max-Forwards: 70
Authorization: Digest username="mutongye",realm="172.16.5.161",nonce="55ac5f8e0000e3d4cc310354889b28c49b8a7c4a5cbded90",uri="sip:153.32.32.43",response="1ffb8f3c35182bf7154ec3fe16dfd2e9",algorithm=MD5
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: 0B77BD45-5890-4445-A9DD-45FE7F582AA6
Event: user-confirmed-register
P-Preferred-Identity: <sip:mutongye@153.32.32.43>
Supported: path
register 200 ok
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.2.111:52779;received=183.237.185.21;branch=z9hG4bK-560215697;rport=14033
From: <sip:mutongye@153.32.32.43>;tag=234366863
To: <sip:mutongye@153.32.32.43>;tag=ea9c7359207ac8fa6abd04538ec56b87.d679
Call-ID: abaf77aa-bc9f-2d27-bbd8-5b2627676226
CSeq: 1235408767 REGISTER
Contact: <sip:mutongye@183.237.185.21:14033;transport=tcp>;expires=3200
Server: OpenSIPS (1.9.1-notls (x86_64/linux))
Content-Length: 0
message 报文
MESSAGE sip:13316074709@153.32.32.43 SIP/2.0
Via: SIP/2.0/TCP 192.168.2.111:52779;branch=z9hG4bK-2056506811;rport
From: <sip:mutongye@153.32.32.43>;tag=1467207998
To: <sip:13316074709@153.32.32.43>
Call-ID: 743112a4-edfd-4074-eb82-a5b4abecb9eb
CSeq: 1103570430 MESSAGE
Content-Length: 76
Max-Forwards: 70
Accept-Contact: *;+g.oma.sip-im
Accept-Contact: *;language="en,fr"
Content-Type: text/plain
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: 0B77BD45-5890-4445-A9DD-45FE7F582AA6
P-Preferred-Identity: <sip:mutongye@153.32.32.43>
"type":"0","isLink":"0","content":"Message","type":"0","cmsgid":"1437360669"
INVITE 报文
INVITE sip:13316074709@153.32.32.43 SIP/2.0
Via: SIP/2.0/TCP 192.168.2.111:52779;branch=z9hG4bK-1188553115;rport
From: <sip:mutongye@153.32.32.43>;tag=952311496
To: <sip:13316074709@153.32.32.43>
Contact: <sip:mutongye@192.168.2.111:52779;transport=tcp>;+g.oma.sip-im;language="en,fr";+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
Call-ID: 052ecfeb-d041-ffaa-eefb-328597d7fbac
CSeq: 151543843 INVITE
Content-Type: application/sdp
Content-Length: 677
Max-Forwards: 70
Accept-Contact: *;+g.3gpp.icsi-ref="urn%3Aurn-7%3A3gpp-service.ims.icsi.mmtel"
P-Preferred-Service: urn:urn-7:3gpp-service.ims.icsi.mmtel
Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER
Privacy: none
P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
User-Agent: 0B77BD45-5890-4445-A9DD-45FE7F582AA6
P-Preferred-Identity: <sip:mutongye@153.32.32.43>
Supported: 100rel
v=0
o=doubango 1983 678901 IN IP4 192.168.2.111
s=-
c=IN IP4 192.168.2.111
t=0 0
a=tcap:1 RTP/AVPF
m=audio 39592 RTP/AVP 8 0 3 111 101
a=ptime:20
a=minptime:1
a=maxptime:255
a=silenceSupp:off - - - -
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:3 GSM/8000/1
a=rtpmap:111 opus/48000/2
a=fmtp:111 maxplaybackrate=16000; sprop-maxcapturerate=16000; stereo=0; sprop-stereo=0; useinbandfec=0; usedtx=0
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-16
a=pcfg:1 t=1
a=sendrecv
a=rtcp-mux
a=ssrc:2593707064 cname:682158fdc127ef44c0c9bde4d50884a8
a=ssrc:2593707064 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:2593707064 label:doubango@audio
404 报文
SIP/2.0 404 Not Found
Via: SIP/2.0/TCP 192.168.2.111:52779;received=183.237.185.21;branch=z9hG4bK-1188553115;rport=14033
From: <sip:mutongye@153.32.32.43>;tag=952311496
To: <sip:13316074709@153.32.32.43>;tag=130e132cb49f7d70b27a00476db8e663-e5f5
Call-ID: 052ecfeb-d041-ffaa-eefb-328597d7fbac
CSeq: 151543843 INVITE
Server: OpenSIPS (1.9.1-notls (x86_64/linux))
Content-Length: 0