如何安装
1、git clone https://gitee.com/chenvv0417/freeswitch-monitor.git
2、./sbt
jenkins@ubuntucicd:~/vv/freeswitch-monitor$ ./sbt
Detected sbt version 0.13.13
Starting sbt: invoke with -help for other options
Using /home/jenkins/.sbt/0.13.13 as sbt dir, -sbt-dir to override.
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
[info] Loading project definition from /home/jenkins/vv/freeswitch-monitor/project
[info] Set current project to FreeswitchOP (in build file:/home/jenkins/vv/freeswitch-monitor/)
>
3、然后在里面执行命令
compile
jetty:start
jetty:stop
如何使用
登陆后,进入Setup=>Connections
输入IP 端口 密码,通过ESL连接上Freeswitch,然后就可以在Dashboard页面查看各项度量了。
root@Develop01:/usr/local/freeswitch/conf/autoload_configs# cat event_socket.conf.xml
<configuration name="event_socket.conf" description="Socket Client">
<settings>
<param name="nat-map" value="false"/>
<param name="listen-ip" value="127.0.0.1"/>
<param name="listen-port" value="8522"/>
<param name="password" value="ClueCon"/>
<!--<param name="apply-inbound-acl" value="loopback.auto"/>-->
<param name="apply-inbound-acl" value="lan"/>
<!--<param name="stop-on-bind-error" value="true"/>-->
</settings>
</configuration>
效果图
Live Calls: