zoukankan      html  css  js  c++  java
  • FreeSWITCH Explained / Configuration / Proxy Media

    FreeSWITCH has 3 media handling modes:

    Default: media flows through FS, full processing options

    - RTP proxied by FreeSWITCH
    - FreeSWITCH controls codec negotiation
    - If endpoints agree on same codec, no transcoding is performed
    - All features enabled - recording, DTMF interception, etc, etc
     
    Proxy: media flows through FS, no media processing options
    - RTP proxied by FreeSWITCH (c= modified, that's it)
    - FreeSWITCH has no control or even understanding of other SDP parameters (pass through)
    - Endpoints *MUST* agree on same codec because FreeSWITCH can't help them
    - Virtually no features available
     
    Bypass: media flows around FS directly between endpoints, no media processing options
    - RTP *NOT* proxied by FreeSWITCH
    - FreeSWITCH has no control over anything SDP related - it's completely pass through from one leg to next (including c=)
    - Endpoints must agree on same codec because FreeSWITCH doesn't even see the media or SDP
    - Virtually no features available
     
    Usually if you want to send media through FS so the endpoints don't talk to each other directly (topology hiding) you want the Default mode which accomplishes this but still gives you all the media processing abilities.
     

    How to enable it

    Set proxy_media=true before the bridge.
    vi /usr/local/freeswitch/conf/dialplan/default.xml
    265 + shift + g
    <action application="set" data="proxy_media=true"/>
     
    Alternatively, configure the SIP profile to use proxy media by default:
    vi /usr/local/freeswitch/conf/sip_profiles/internal.xml
    236 + shift + g
    <param name="inbound-proxy-media" value="true"/>
    (see example in conf/sip_profiles/internal.xml)
     
    Copy From
     
  • 相关阅读:
    python2.7之打飞机(文末附素材链接)
    python画小猪佩奇
    什么叫递归
    DIV居中的几种方法
    什么是控制反转
    上传图片及时预览
    MVC与三层的区别
    From表单提交刷新页面?
    文件上传之form表单篇
    文件上传之伪Ajax篇
  • 原文地址:https://www.cnblogs.com/dong1/p/10693993.html
Copyright © 2011-2022 走看看