freeswitch配置esl

为君一笑 提交于 2020-04-28 06:49:16

 

设置账号密码和端口 /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>

  

 

 

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!