直呼FS的external端口5080时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=z9hG4bK3ca4.544f0112d67a5319605d45156b48c8f7.0
    Via: SIP/2.0/UDP 192.168.10.21:5066;branch=z9hG4bK-17932-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-17932@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发起临时响应

    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bK3ca4.544f0112d67a5319605d45156b48c8f7.0
    From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
    To: sut <sip:service@192.168.10.21:6060>
    Call-ID: 1-17932@192.168.10.21
    CSeq: 1 INVITE
    User-Agent: FreeSWITCH-mod_sofia/1.10.8-release~64bit
    Content-Length: 0

4、FS未找到下一条路由时,向UAC发起480最终响应

    SIP/2.0 480 Temporarily Unavailable
    Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bK3ca4.544f0112d67a5319605d45156b48c8f7.0
    Via: SIP/2.0/UDP 192.168.10.21:5066;branch=z9hG4bK-17932-1-0
    Max-Forwards: 70
    From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
    To: sut <sip:service@192.168.10.21:6060>;tag=06t58U5FUmUpF
    Call-ID: 1-17932@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
    Supported: timer, path, replaces
    Allow-Events: talk, hold, conference, refer
    Reason: Q.850;cause=16;text="NORMAL_CLEARING"
    Content-Length: 0
    Remote-Party-ID: "service" <sip:service@192.168.10.21>;party=calling;privacy=off;screen=no

五、FS收到UAC的响应

    ACK sip:service@192.168.10.21:6060 SIP/2.0
    Via: SIP/2.0/UDP 192.168.10.21:6060;branch=z9hG4bK3ca4.544f0112d67a5319605d45156b48c8f7.0
    From: sipp <sip:sipp@192.168.10.21:5066>;tag=1
    To: sut <sip:service@192.168.10.21:6060>;tag=06t58U5FUmUpF
    Call-ID: 1-17932@192.168.10.21
    CSeq: 1 ACK
    Max-Forwards: 70
    Content-Length: 0

  • 25
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值