首页  :: 新随笔  :: 管理

freeswitch配置esl

Posted on 2020-04-26 16:05  季枫  阅读(1489)  评论(0编辑  收藏  举报

 

设置账号密码和端口 /conf/autoload_configs/event_socket.conf.xml 

<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="nat-map" value="false"/>
    <param name="listen-ip" value="0.0.0.0"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="123456"/>
    <!-- <param name="apply-inbound-acl" value="lan"/>-->
    <param name="apply-inbound-acl" value="loopback.auto"/>
    <!--<param name="stop-on-bind-error" value="true"/>-->
  </settings>
</configuration>

  

设置loopback访问规则: /conf/autoload_configs/acl.conf.xml

<configuration description="Network Lists" name="acl.conf">
        <network-lists>
                <list default="allow" name="允许所有IP">
                        <node host="0.0.0.0" mask="0.0.0.0" type="allow"/>
                </list>
<list name="loopback.auto" default="allow">
  <node type="allow" cidr="192.168.1.1/28"/>
</list>
        </network-lists>
</configuration>

  

 

 

智读 | 成都会领科技有限公司官网 | 智读App下载 | 每天听本书的博客 | |