Audio (FreeSWITCH) not working with external IP

1,646 views
Skip to first unread message

Floh

unread,
Sep 20, 2011, 9:05:59 AM9/20/11
to BigBlueButton-Setup
Hi,
I setup a bbb-server with FreeSWITCH (until now we used Asterisk).
Unfortunatelly audio is not working if I try to access BBB over
internet (with external IP).

I tried with internal address, audio works fine after set back IP
address with this command: 'bbb-conf --setip <InternalIP>').

I did following steps:
- bbb-conf --setip <ExternalIP>
- modified /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-
sip.properties
sip.server.host=111.222.33.44
111.222.33.44 = external IP
- define firewall rules + NAT-Portforwarding following ports:
TCP 80
TCP/UDP 1935
TCP/UDP 5070
TCP/UDP 15000-16383
TCP 9123

Now I entered a room. There I pressed headphone icon which means to
enable voice. Then nothing happens. There I espect a dialog from flash
which ask for permission for using microphone but nada.

What could it be wrong?

I did 'bbb-conf --check' with following output:
>>>>>>
root@bc01-conferenceDev:~# bbb-conf --check

BigBlueButton Server 0.71a
Kernel version: 2.6.32-33-server
Distribution: Ubuntu 10.04.3 LTS (64-bit)
Memory: 3964 MB

/var/www/bigbluebutton/client/conf/config.xml
Port test (tunnel): 111.222.33.44
Red5: 111.222.33.44

/etc/nginx/sites-available/bigbluebutton
server name: 111.222.33.44
port: 80
bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/
bigbluebutton.properties (bbb-web)
bbb-web host: 111.222.33.44

/var/lib/tomcat6/webapps/bigbluebutton/demo/bbb_api_conf.jsp (API
demos)
bbb-web-api host: 111.222.33.44

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml
voice conference: FreeSWITCH


** Potential problems described below **
# IP does not match:
# IP from ifconfig: 172.19.85.24
# /etc/nginx/sites-available/bigbluebutton: 111.222.33.44

# The voice application failed to register with the sip server.
# Try running: sudo bbb-conf --clean

# This server could not connect to BigBlueButton through http://111.222.33.44/
#
# If you are setting up BigBlueButton behind a firewall, see the FAQ
# for steps to setup BigBlueButton behind a firewall.
# http://code.google.com/p/bigbluebutton/wiki/FAQ


# Unable to connect to port 1935 (RTMP) on 111.222.33.44

# Unable to connect to port 9123 (desktop sharing) on 111.222.33.44

# The IP address (111.222.33.44) set for sip.server.host in
# /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties
# does not match the local IP address (172.19.85.24).
<<<<<<

Any idea?
cu Floh

Fred Dixon

unread,
Sep 20, 2011, 9:10:41 AM9/20/11
to bigbluebu...@googlegroups.com
Hi Floh,

Change your sip.server.host back to your internal IP and following the
instructions here for providing external access to your BigBlueButton
server.

http://code.google.com/p/bigbluebutton/wiki/FAQ#Can_I_provide_external_access_to_a_BigBlueButton_server_behind_m

Regards,... Fred
--
http://code.google.com/p/bigbluebutton/wiki/FAQ#BigBlueButton_Committer

> --
> You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
> To post to this group, send email to bigbluebu...@googlegroups.com.
> To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
>
>

f.erfurth

unread,
Sep 21, 2011, 6:15:39 AM9/21/11
to bigbluebu...@googlegroups.com
Hi Fred,
thank you for your reply.
On Tue, Sep 20, 2011 at 3:10 PM, Fred Dixon <ffd...@gmail.com> wrote:
Change your sip.server.host back to your internal IP and following the
instructions here for providing external access to your BigBlueButton
server.

 http://code.google.com/p/bigbluebutton/wiki/FAQ#Can_I_provide_external_access_to_a_BigBlueButton_server_behind_m
 
I already read that documentation. Ports are forwarded as described in doc. But I didn't the following step:

Internally, BigBlueButton must be able to call external.host.org to make API requests. In this example, if the internal BigBlueButton server is at 192.168.10.198, add the following line to /etc/hosts.

192.168.10.198 external.host.org 
 
I don't have domain-name for that machine. Just a external IP. Does it matter?
 
cu Floh

Fred Dixon

unread,
Sep 21, 2011, 7:40:30 AM9/21/11
to bigbluebu...@googlegroups.com
> I don't have domain-name for that machine. Just a external IP. Does it matter?

Yes, you need a domain name; otherwise, it won't work. You can easily
create one for your external IP address at

http://dyn.com/dns/dyndns-free/

f.erfurth

unread,
Sep 21, 2011, 12:05:17 PM9/21/11
to bigbluebu...@googlegroups.com
Hi Fred,
On Wed, Sep 21, 2011 at 1:40 PM, Fred Dixon <ffd...@gmail.com> wrote:
Yes, you need a domain name; otherwise, it won't work.  You can easily
create one for your external IP address at
 
thank you. Now it works fine with domain name. I didn't think about dyndns before.
 
cu Floh
Reply all
Reply to author
Forward
0 new messages