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
     
  • 相关阅读:
    CodeSmith入门教程
    AJAX调用实例
    药品监控增加表结构
    典型SQL 语句总结
    CRM中常用代码
    win2000sever+IIS5不能下载exe文件处理方法
    常用的文件对应的MIME类型
    数据库范式1NF 2NF 3NF BCNF
    多线程编程中如何更改UI值
    NHibernate学习笔记(2)—关系映射
  • 原文地址:https://www.cnblogs.com/dong1/p/10693993.html
Copyright © 2011-2022 走看看