admin@conf:~$ sudo bbb-conf --check
BigBlueButton Server 0.9.0-beta (730)
Kernel version: 3.13.0-49-generic
Distribution: Ubuntu 14.04.2 LTS (64-bit)
Memory: 20043 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel): bbb.mydomain.com
Red5: bbb.mydomain.com
useWebrtcIfAvailable: true
/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
websocket port: 5066
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name: bbb.mydomain.com
port: 80
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host: bbb.mydomain.com
/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
api url: bbb.mydomain.com
/var/www/bigbluebutton/check/conf/config.xml (client check)
client check: bbb.mydomain.com
/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
voice conference: FreeSWITCH
capture video: true
capture desktop: true
/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback host: bbb.mydomain.com
** Potential problems described below **
# IP does not match:
# IP from ifconfig: 172.16.1.7
# /etc/nginx/sites-available/bigbluebutton: bbb.mydomain.com
# Warning: API URL IPs do not match host:
#
# IP from ifconfig: 172.16.1.7
# /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.mydomain.com
# Warning: The API demos are installed and accessible from:
#
# http://bbb.mydomain.com/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
# sudo apt-get purge bbb-demo
# Warning: The client self check is installed and accessible from:
#
# http://bbb.mydomain.com/check
#
Enter code here...-<X-PRE-PROCESS cmd="set" data="local_ip_v4=172.16.1.7"/>
-<X-PRE-PROCESS cmd="set" data="bind_server_ip=auto"/>
+<X-PRE-PROCESS cmd="set" data="bind_server_ip=bbb.mydomain.com"/>
-<X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
+<X-PRE-PROCESS cmd="set" data="external_rtp_ip=host:bbb.mydomain.com"/>
-<X-PRE-PROCESS cmd="set" data="external_sip_ip=stun:stun.freeswitch.org"/>
+<X-PRE-PROCESS cmd="set" data="external_sip_ip=host:bbb.mydomain.com"/>
-<param name="ext-rtp-ip" value="$${local_ip_v4}"/>
-<param name="ext-sip-ip" value="$${local_ip_v4}"/>
+<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
+<param name="ext-sip-ip" value="$${external_sip_ip}"/>
bbb.sip.app.ip=172.16.1.7
bbb.sip.app.port=5070
freeswitch.ip=172.16.1.7
freeswitch.port=5060
location /ws {
proxy_pass http://bbb.mydomain.com:5066;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
admin@conf:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
80 ALLOW Anywhere
1935 ALLOW Anywhere
9123 ALLOW Anywhere
5066 ALLOW Anywhere
16384:32768/udp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
1935 (v6) ALLOW Anywhere (v6)
9123 (v6) ALLOW Anywhere (v6)
5066 (v6) ALLOW Anywhere (v6)
16384:32768/udp (v6) ALLOW Anywhere (v6)
darkfess@DFZ:~$ telnet bbb.mydomain.com 5066
Trying xxx.xxxx.xxxxx....
Connected to bbb.mydomain.com.
Escape character is '^]'.
HTTP/1.1 400 Bad Request
Sec-WebSocket-Version: 13
Connection closed by foreign host.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Hi Fred,I will try specifying direct forwarding of those UDP ports. Thanks for the idea, I will keep you informed.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
Hi Michael,After you make the change, try connecting again from BigBlueButton and, if it fails to connect, post the output of the browser console to pastebin -- this will give us more information to figure out why the browser is unable to connect via webRTC audio.Regards,... Fred
On Fri, Apr 10, 2015 at 3:11 PM, Michael <darkfess...@gmail.com> wrote:
Hi Fred,I will try specifying direct forwarding of those UDP ports. Thanks for the idea, I will keep you informed.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
a=candidate:1729486585 1 udp 659136 172.16.1.7 20090 typ host generation 0
Good day, dear developers.
I encountered with issue: WebRTC don`t want to work behind NAT (Error 1007: https://code.google.com/p/bigbluebutton/wiki/090InstallationUbuntu#Client_WebRTC_Error_Codes). Al correctly works in local network, in external - WebRTC got error 1007. Nothing helps.
I`ve got battle installation of bbb on dedicated physical server. Version 0.9 was chosen because of the large number of advantages over stable 0.81. One of them - WebRTC and right now I`am got issues with that. So... i got external IP address and bound to it sub-domain bbb.mydomain.com (back-part, my server) also I`ve got conf.mydomain.com (front-part, web portal on Wordpress), but thats not matter right now. Server has connected to router Fortigate 60D (i suspect that it is all his fault). External IP is fully bound to internal IP in all ports and protocols. Next...
Installation was done strongly upon: https://code.google.com/p/bigbluebutton/wiki/090InstallationUbuntu
/etc/hosts was updated as needed (looking on my bbb.mydomain.com)
All steps was completed and tested many times: https://code.google.com/p/bigbluebutton/wiki/090InstallationUbuntu#Audio_not_working (+ some of my experiments with configs)
My info:admin@conf:~$ sudo bbb-conf --check
/opt/freeswitch/conf/vars.xml<X-PRE-PROCESS cmd="set" data="bind_server_ip=172.16.1.7"/>
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=172.16.1.7"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=172.16.1.7"/>
/opt/freeswitch/conf/sip_profiles/external.xml
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>
/usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.propertiesbbb.sip.app.ip=172.16.1.7
bbb.sip.app.port=5070
freeswitch.ip=172.16.1.7
freeswitch.port=5060
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_read_timeout 6h;
proxy_send_timeout 6h;
client_body_timeout 6h;
send_timeout 6h;
}
Thats it. Firewall (i disabled it for test... not helps)admin@conf:~$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
80 ALLOW Anywhere
1935 ALLOW Anywhere
9123 ALLOW Anywhere
5066 ALLOW Anywhere
16384:32768/udp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
80 (v6) ALLOW Anywhere (v6)
1935 (v6) ALLOW Anywhere (v6)
9123 (v6) ALLOW Anywhere (v6)
5066 (v6) ALLOW Anywhere (v6)
16384:32768/udp (v6) ALLOW Anywhere (v6)
http://demo.bigbluebutton.org/ - works
Pls help my with advice, what Iam doing wrong? bbb.mydomain.com was changed to direct IP in that configs, firewall disabled... nothing helps. The servers is now available in Internet, i can give i web-access to it (but I cant write an address directly here). All checks was make by feature: bbb.mydomain.com/check (and got "Failed WebRTC Echo Test: 1007") that was confirmed by joining my demo.
Thanks.
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.
127.0.0.1 localhost
#127.0.0.1 bbb.mydomain.com bbb localhost
172.16.1.7 bbb
xxx.xxx.xx.xx bbb.mydomain.com
# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
fdb90d26-e2c9-11e4-b575-f52349676698 2015-04-14 20:16:30.101137 [NOTICE] switch_core_media.c:2953 setting remote audio ice addr to 2002:101:1ce::101:1ce:64092 based on candidate
fdb90d26-e2c9-11e4-b575-f52349676698 2015-04-14 20:16:30.101137 [NOTICE] switch_core_media.c:2978 setting remote rtcp audio addr to 2002:101:1ce::101:1ce:64092 based on candidate
fdb90d26-e2c9-11e4-b575-f52349676698 2015-04-14 20:16:30.101137 [DEBUG] switch_core_media.c:5163 AUDIO RTP [sofia/external/12345-bbbID-bbbTestUser@bbb.mydomain.com] 172.16.1.7 port 25112 -> 2002:101:1ce::101:1ce port 64092 codec: $
fdb90d26-e2c9-11e4-b575-f52349676698 2015-04-14 20:16:30.101137 [DEBUG] switch_rtp.c:3558 Starting timer [soft] 960 bytes per 20ms
<param name="auth-calls" value="$${internal_auth_calls}"/>
<param name="auth-calls" value="$${external_auth_calls}"/>
<!-- External SIP Profile -->
<X-PRE-PROCESS cmd="set" data="external_auth_calls=true"/>
admin@bbb:~$ telnet xxx.xxx.xx.xx 5066
Trying xxx.xxx.xx.xx...
Connected to xxx.xxx.xx.xx.
Escape character is '^]'.
HTTP/1.1 400 Bad Request
Sec-WebSocket-Version: 13
Connection closed by foreign host.
admin@bbb:~$ sudo /opt/freeswitch/bin/fs_cli -x "sofia status profile external"
[sudo] password for admin:
=================================================================================================
Name external
Domain Name N/A
Auto-NAT false
DBName sofia_reg_external
Pres Hosts
Dialplan XML
Context public
Challenge Realm auto_to
RTP-IP 172.16.1.7
Ext-RTP-IP xxx.xxx.xxx.xx
SIP-IP 172.16.1.7
Ext-SIP-IP xxx.xxx.xxx.xx
URL sip:mod_sofia@xxx.xxx.xxx.xx:5060
BIND-URL sip:mod_sofia@xxx.xxx.xxx.xx:5060;maddr=172.16.1.7;transport=udp,tcp
WS-BIND-URL sip:mod_sofia@172.16.1.7:5066;transport=ws
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN OPUS,speex@16000h@20i,speex@8000h@20i,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM
CODECS OUT speex@16000h@20i,PCMU,PCMA,GSM
TEL-EVENT 101
DTMF-MODE info
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG true
PROXY-MEDIA false
ZRTP-PASSTHRU true
AGGRESSIVENAT false
CALLS-IN 68
FAILED-CALLS-IN 67
CALLS-OUT 0
FAILED-CALLS-OUT 0
REGISTRATIONS 1
-wsServers: 'ws://' + server + '/ws',
+wsServers: 'ws://' + server:5066,
+wsServers: 'ws://' + server + '5066;,
+wsServers: 'ws://' + '/ws',
+wsServers: 'xxx.xxx.xx.xx:5066',
+wsServers: 'ws://' + server + '172.16.1.7',
WS-BIND-URL sip:mod_sofia@172.16.1.7:5066;transport=ws
WebSocket Test
CONNECTED
SENT: WebSocket rocks