专栏名称: hryou0922
目录
相关文章推荐
51好读  ›  专栏  ›  hryou0922

freeswitch系列五 解决xlite和freeswitch通话没有语音的问题

hryou0922  · 掘金  ·  · 2018-01-29 09:37

正文

请到「今天看啥」查看全文



这里写图片描述

和通信地址相关的是:

  • 1.Connection Information (c): IN IP4 10.240.80.69:告诉freeswitch本机的通信ip为10.240.80.69
  • 2.Media Description, name and address (m): audio 64836 RTP/AVP 9 8 120 0 84 101:告诉freeswitch本机的通信端口为64836

FS 向1008产生一个回铃音时,会通过SDP告诉1008自己的接受语音的IP地址

No.     Time           Source                Destination           Protocol Length Info
    525 26.399001      172.23.4.92           59.aa.aa.aa         SIP/SDP  1228   Status: 183 Session Progress | 

Frame 525: 1228 bytes on wire (9824 bits), 1228 bytes captured (9824 bits)
Ethernet II, Src: Vmware_83:02:4d (00:50:56:83:02:4d), Dst: IETF-VRRP-VRID_04 (00:00:5e:00:01:04)
Internet Protocol Version 4, Src: 172.23.4.92, Dst: 59.aa.aa.aa
User Datagram Protocol, Src Port: 5060 (5060), Dst Port: 24576 (24576)
Session Initiation Protocol (183)
    Status-Line: SIP/2.0 183 Session Progress
    Message Header
        略
    Message Body
        Session Description Protocol
            Session Description Protocol Version (v): 0
            Owner/Creator, Session Id (o): FreeSWITCH 1508899003 1508899004 IN IP4 115.aa.aa.aa
            Session Name (s): FreeSWITCH
            Connection Information (c): 172.23.4.92
            Time Description, active time (t): 0 0
            Media Description, name and address (m): audio 23180 RTP/AVP 9 101
            Media Attribute (a): rtpmap:9 G722/8000
            Media Attribute (a): rtpmap:101 telephone-event/8000
            Media Attribute (a): fmtp:101 0-16
            Media Attribute (a): ptime:20

在这个消息中freeswitch通知1008的音频的本机的ip为172.23.4.92,是个私网地址 因为1008和freeswitch不在一个局域网中,所有1008发送给freeswitch全部失败。







请到「今天看啥」查看全文