liuzhe02 / bigbluebutton

Automatically exported from code.google.com/p/bigbluebutton
0 stars 0 forks source link

Freeswitch ESL - Potential problems ? #1651

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
** Potential problems described below **

# The values for listen-ip in
#     /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
# do not match the settings for esl.host in
#     /usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties

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="secret"/>
    <param name="apply-inbound-acl" value="event_socket"/>
  </settings>
</configuration>

bigbluebutton.properties:
# These should match with the freeswitch event_socket_client.xml config
freeswitch.esl.host=127.0.0.1
freeswitch.esl.port=8021
freeswitch.esl.password=secret

If you open ESL on freeswitch to any address - 0.0.0.0 - on bbb-conf --check 
will get warning.
I suggest to not show such warning when in freeswitch config = listen-ip = 
0.0.0.0
It should only appear only when there is real mismatch.

In my case - all is working fine and this is not a problem.

Original issue reported on code.google.com by ar...@zdolinski.com on 14 Oct 2013 at 2:50

GoogleCodeExporter commented 9 years ago
Can you give us steps to reproduce your setup.  

Original comment by ffdixon@gmail.com on 14 Oct 2013 at 2:52

GoogleCodeExporter commented 9 years ago
Hi Fred..

You can simple reproduce this by setting in 
/opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
line:
-<param name="listen-ip" value="127.0.0.1"/>
+<param name="listen-ip" value="0.0.0.0"/>

then bbb-conf --restart

Original comment by ar...@zdolinski.com on 14 Oct 2013 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by ffdixon@gmail.com on 19 Oct 2013 at 9:39