直呼FS的internal端口5060时FS的处理流程

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

  • 4
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值