1. FS收到invite消息
INVITE sip:service@192.168.10.21:6060 SIP/2.0
Record-Route: <sip:192.168.10.21:6060;lr>
Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bKf8d.806f8eff8ae9f0b8901d05c64c4ffbb9.0
Via: SIP/2.0/UDP 192.168.10.21:5066;branch=z9hG4bK-18479-1-0
From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
To: sut <sip:service@192.168.10.21:6060>
Call-ID: 1-18479@192.168.10.21
CSeq: 1 INVITE
Contact: sip:sipp@192.168.10.21:5066
Max-Forwards: 70
Subject: Performance Test
Content-Type: application/sdp
Content-Length: 137
v=0
o=user1 53655765 2353687637 IN IP4 192.168.10.21
s=-
c=IN IP4 192.168.10.21
t=0 0
m=audio 6000 RTP/AVP 0
a=rtpmap:0 PCMU/8000
2. FS进行ACL校验。
3. FS向UAC发起auth响应:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bKf8d.806f8eff8ae9f0b8901d05c64c4ffbb9.0
Via: SIP/2.0/UDP 192.168.10.21:5066;branch=z9hG4bK-18479-1-0
From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
To: sut <sip:service@192.168.10.21:6060>;tag=8K2cXjpU21ZXS
Call-ID: 1-18479@192.168.10.21
CSeq: 1 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.10.8-release~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Proxy-Authenticate: Digest realm="192.168.10.21", nonce="bb3c7496-820d-4d9b-a6db-ce248e881fcc", algorithm=MD5, qop="auth"
Content-Length: 0
4. FS收到UAC的ack响应,并开启等待(10s)定时器
ACK sip:service@192.168.10.21:6060 SIP/2.0
Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bKf8d.806f8eff8ae9f0b8901d05c64c4ffbb9.0
From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
To: sut <sip:service@192.168.10.21:6060>;tag=8K2cXjpU21ZXS
Call-ID: 1-18479@192.168.10.21
CSeq: 1 ACK
Max-Forwards: 70
Content-Length: 0
5. FS未收到UAC携带auth的inivite消息等待超时,主动结束呼叫,case为WRONG_CALL_STATE