FreeSWITCH 默认配置只能 在本机连接, 要从 外面连接, 就要配置:

1 acl.conf.xml::network-lists/list
2 event_socket.conf.xml::apply-inbound-acl 参数 (指定使用哪个acl.xml::network-lists/list)

而 apply-inbound-acl 参数在 event_socket.conf.xml 默认值为 loopback.auto ,会拒绝外部客户端的连入.

acl.conf.xml 里设置 连接规则 , 然后再 event_socket.conf.xml 里配置使用哪个规则.

简单 来说, 就直接 使用 acl.conf 里默认有的 哪个规则 "lan"

acl.conf 里 设置 规则的 格式 

<list name="domains" default="deny">
    <node type="allow" domain="$${domain}"/>
    <node type="allow" cidr="192.168.1.0/24"/>

    <node type="allow" cidr="192.168.34.0/24"/>
    <node type="allow" cidr="127.0.0.1/24"/>
</list>

相关文章:

  • 2021-10-13
  • 2021-10-31
  • 2022-12-23
  • 2021-12-05
  • 2021-08-23
  • 2021-08-31
猜你喜欢
  • 2021-06-24
  • 2022-01-30
  • 2021-04-17
  • 2021-09-26
  • 2022-12-23
  • 2022-02-08
相关资源
相似解决方案