菜鸟学freeswitchfs_cli无法远程连接FreeSWITCH服务器问题

Posted 左手程序,右手诗

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了菜鸟学freeswitchfs_cli无法远程连接FreeSWITCH服务器问题相关的知识,希望对你有一定的参考价值。

问题描述:fs_cli无法连接FreeSWITCH服务器

解决方法:https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket

Configuration

First enable the mod_event_socket module in modules.conf.xml (in a system compiled from source this is located in /usr/local/freeswitch/conf/autoload_configs/modules.conf.xml)

By default the module is enabled but restricted to localhost by the settings specified below.

The module settings can be changed in the event_socket.conf.xml file (in a system compiled from source this is located in /usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xml):

<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <param name="listen-ip" value="127.0.0.1"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="ClueCon"/>
  </settings>
</configuration>

The default settings allow socket connections only from the local host. To allow connections from any host on the network, use 0.0.0.0 instead of the default 127.0.0.1:

<configuration name="event_socket.conf" description="Socket Client">
  <settings>
    <!-- Allow socket connections from any host -->
    <param name="listen-ip" value="0.0.0.0"/>
    <param name="listen-port" value="8021"/>
    <param name="password" value="ClueCon"/>
  </settings>
</configuration>
最后重启freeswitch,进入到bin目录中,[[email protected] bin]# fs_cli -H 127.0.0.1 -P 8021 -p ****

 

以上是关于菜鸟学freeswitchfs_cli无法远程连接FreeSWITCH服务器问题的主要内容,如果未能解决你的问题,请参考以下文章

SQL PLUS 如何远程连接ORACLE数据库

Oracle菜鸟学习之 Oracle基础命令

关于ubuntu 使用xshell无法远程连接的问题?

半吊子菜鸟学Web开发 -- PHP学习5-数据库

菜菜菜鸟学习之JavaWeb 入门1(自己的学习理解,不对之处请大神们多多指教啊)

菜鸟请教sql问题