macielbombonato / bigbluebutton

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

BigBlueButton 0.71 does not work with the vendor version (1.0.6) of the FreeSWITCH #739

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm install BigBlueButton 0.71 on FreeBSD 8.1 amd64 according to:
http://code.google.com/p/bigbluebutton/wiki/InstallingBigBlueButton

And found one problem - when user joined to the conference (and listen
greeting), his do not appear in the Listeners window. At this time
red5 logs show java exeption:

==> stdout.log <==
[ERROR] [EslEventNotifier-1] org.freeswitch.esl.client.inbound.Client
- Error caught notifying listener of event [EslEvent: name=[CUSTOM]
subclass=[conference::maintenance] headers=2, eventHeaders=51,
eventBody=0 lines.]
java.lang.NullPointerException: null
        at
org.bigbluebutton.webconference.voice.freeswitch.FreeswitchApplication.conferenc
eEventJoin(FreeswitchApplication.java:
140) [FreeswitchApplication.class:na]
        at org.freeswitch.esl.client.inbound.Client
$3$2.run(Client.java:494) [org.freeswitch.esl.client-0.9.0-
SNAPSHOT.jar:na]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110) [na:1.6.0]
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0]
        at java.lang.Thread.run(Thread.java:636) [na:1.6.0]

I tested three different versions of the FreeSWITCH and found:

BBB 0.71 workfin only with one specific FreeSWITCH version:

http://ppa.launchpad.net/freeswitch-drivers/freeswitch-nightly-drivers/ubuntu/po
ol/main/f/freeswitch/freeswitch_1.0.6-0ubuntu10-10-15-11-24PST.1~lucid.tar.gz

with freeswitch-1.0.6 - i have an error:
[ERROR] [EslEventNotifier-1] org.freeswitch.esl.client.inbound.Client
- Error caught notifying listener of event [EslEvent: name=[CUSTOM]
subclass=[conference::maintenance] headers=2, eventHeaders=51,
eventBody=0 lines.]
java.lang.NullPointerException: null
        at
org.bigbluebutton.webconference.voice.freeswitch.FreeswitchApplication.conferenc
eEventJoin(FreeswitchApplication.java:
140) [FreeswitchApplication.class:na]
        at org.freeswitch.esl.client.inbound.Client
$3$2.run(Client.java:494) [org.freeswitch.esl.client-0.9.0-
SNAPSHOT.jar:na]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110) [na:1.6.0]
        at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0]
        at java.lang.Thread.run(Thread.java:636) [na:1.6.0]

freeswitch-snapshot.tar.gz (12-Nov-2010 16:12 114M) - no any visible errors, 
but listeners window still empty.

Could you please check and confirm this ?

Also please see similar Issue# 639 
(http://code.google.com/p/bigbluebutton/issues/detail?id=639) for log files and 
other info.

Thanks a lot!

Original issue reported on code.google.com by alex.deiter@gmail.com on 14 Nov 2010 at 5:35

GoogleCodeExporter commented 8 years ago
Hi Alex,

We have looked into this problem and found that the packages that the Ubuntu 
install uses are the same version as the .tar.gz you are using, all from 
October 10, 2010.

We have not tried out the latest builds of FreeSWITCH so we did not know that 
BigBlueButton wasn't working with them.  I noticed you did some pretty in depth 
testing and filed a bug with FreeSWITCH 
(http://jira.freeswitch.org/browse/ESL-52).  This is definably an event issue.  
I have attached my working configuration files but from inspecting what was 
posted in Issue 639 your addresses fairly ok, however see my notes below.

We have found that in bigbluebutton-sip.properties (in 
/usr/share/red5/webapps/sip/WEB-INF/) the sip.server.host had to be equal to 
the ip of the machine that is the SIP server, even if that IP is that of the 
current machine.  From our testing we found using 127.0.0.1 doesn't work. I did 
notice in your sip-diff.txt file you had used 127.0.0.1.

The other two files, bigbluebutton.properties 
(/usr/share/red5/webapps/bigbluebutton/WEB-INF/) and the event_socket.conf.xml 
(/opt/freeswitch/conf/autoload_configs/) should have matching IP addresses, be 
it 127.0.0.1 or an external IP address.  A few things I noticed here.  In your 
red5-webapps-bigbluebutton-diff.txt I noticed that you had changed your 
ami.host to "localhost", I'm not sure if it will resolve this or not, however 
this is for Asterisk.  The esl.host is for FreeSWITCH.

I couldn't find your event_socket.conf.xml, which is where the listening server 
is set for FreeSWITCH, so I'm not sure what you have there.  The 
bigbluebutton.properties and event_socket.conf.xml are event related.  
bigbluebutton-sip.properties is used to tell red5 where the server is (Asterisk 
or FreeSWITCH).

Hope this is helpful and you can get your setup working.  Let us know what your 
current status is.

Scott

Original comment by scott.mo...@gmail.com on 18 Nov 2010 at 8:57

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Scott,

Thanks for update!
I tried your proposed files but the error appears again.
After that i registered bug for FreeSWITCH: 
http://jira.freeswitch.org/browse/ESL-52
Now this bug fixed. BigBlueButton works fine with FreeSWITCH again!

Tested on: FreeBSD 8.1 amd64, tomcat-6.0.29, red5-0.9.1 and FreeSWITCH GIT from 
23.11.2010.

P.S. 127.0.0.1 for SIP/ESL also work fine:

freeswitch@x4150b.tdc> sofia status

                     Name      Type                                       Data  State
================================================================================
=================
                 internal   profile               sip:mod_sofia@127.0.0.1:5090  RUNNING (0)
                 external   profile               sip:mod_sofia@127.0.0.1:5060  RUNNING (0)
            internal-ipv6   profile                   sip:mod_sofia@[::1]:5090  RUNNING (0)
                127.0.0.1     alias                                   internal  ALIASED
================================================================================
=================
3 profiles 1 alias

join log:
2010-11-23 22:06:21.049357 [NOTICE] switch_channel.c:784 New Channel 
sofia/external/73713@127.0.0.1 [66fb5be7-4df7-df11-99e4-001b24e04702]
2010-11-23 22:06:21.052971 [INFO] mod_dialplan_xml.c:331 Processing deite 
<73713>->73713 in context public
2010-11-23 22:06:21.057556 [NOTICE] mod_dptools.c:920 Channel 
[sofia/external/73713@127.0.0.1] has been answered
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '0' to 'mute'
2010-11-23 22:06:21.059630 [INFO] switch_ivr_async.c:162 Digit parser 
mod_conference: Setting realm to conf
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '*' to 'deaf mute'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '9' to 'energy up'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '8' to 'energy equ'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '7' to 'energy dn'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '3' to 'vol talk up'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '2' to 'vol talk zero'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '1' to 'vol talk dn'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '6' to 'vol listen up'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '5' to 'vol listen zero'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '4' to 'vol listen dn'
2010-11-23 22:06:21.059630 [INFO] mod_conference.c:6485 
sofia/external/73713@127.0.0.1 binding '#' to 'hangup'

Thanks a lot!

Original comment by alex.deiter@gmail.com on 23 Nov 2010 at 10:07

GoogleCodeExporter commented 8 years ago
Could you please close this issue and add note about FreeSWITCH in 
http://code.google.com/p/bigbluebutton/wiki/InstallingBigBlueButton ?

Thanks a lot!

Original comment by alex.deiter@gmail.com on 23 Nov 2010 at 10:08

GoogleCodeExporter commented 8 years ago
Thanks Alex...

Create a new issue http://code.google.com/p/bigbluebutton/issues/detail?id=755 
for improvements as suggessted by the FS folks.

Original comment by ritza...@gmail.com on 23 Nov 2010 at 10:16

GoogleCodeExporter commented 8 years ago

Original comment by ffdixon@gmail.com on 6 Feb 2011 at 11:44

GoogleCodeExporter commented 8 years ago

Original comment by ffdixon@gmail.com on 7 Feb 2011 at 6:13

GoogleCodeExporter commented 8 years ago

Original comment by ritza...@gmail.com on 28 Mar 2012 at 3:29