title: Call timed out (error 1006) - bigbluebutton
body: <p>I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in &quot;echo test&quot; i'll get 1006 error and i have tested:</p>
  <pre><code>FreeSWITCH fails to bind to IPV4Anchor link for: freeswitch fails to bind to ipv4
  
  In rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).
  
  To check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.
  
  2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
  2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
  2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]
  2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!
  2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!
  
  If you see these errors, clear the FreeSWITCH database (BigBlueButton doesn’t use the database and FreeSWITCH will recreate it on startup).
  
  $ sudo systemctl stop freeswitch
  $ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
  $ sudo systemctl start freeswitch
  </code></pre>
  <p>but it doesn't solve the problem.</p>
  <p>this is output of <code>bbb-conf --check</code>:</p>
  <pre><code>BigBlueButton Server 2.2.20 (2037)
                      Kernel version: 4.4.0-185-generic
                        Distribution: Ubuntu 16.04.6 LTS (64-bit)
                              Memory: 4045 MB
                           CPU cores: 4
  
  /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
         bigbluebutton.web.serverURL: https://online.vikipoyan.ir
                  defaultGuestPolicy: ALWAYS_ACCEPT
                   svgImagesRequired: true
  
  /etc/nginx/sites-available/bigbluebutton (nginx)
                         server name: 49.12.60.238
                                port: 80, [::]:80
                                port: 443 ssl
                      bbb-client dir: /var/www/bigbluebutton
  
  /var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                  Port test (tunnel): rtmp://online.vikipoyan.ir
                                red5: online.vikipoyan.ir
                useWebrtcIfAvailable: true
  
  /opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                         local_ip_v4: 49.12.60.238
                     external_rtp_ip: stun:stun.freeswitch.org
                     external_sip_ip: stun:stun.freeswitch.org
  
  /opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                          ext-rtp-ip: $${local_ip_v4}
                          ext-sip-ip: $${local_ip_v4}
                          ws-binding: :5066
                         wss-binding: :7443
  
  /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                       playback_host: online.vikipoyan.ir
                   playback_protocol: https
                              ffmpeg: 4.2.2-1bbb1~ubuntu16.04
  
  /etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                          proxy_pass: 49.12.60.238
  
  /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                          kurento.ip: 49.12.60.238
                         kurento.url: ws://127.0.0.1:8888/kurento
                      kurento.sip_ip: 49.12.60.238
                      localIpAddress: 49.12.60.238
                 recordScreenSharing: true
                       recordWebcams: true
                    codec_video_main: VP8
                 codec_video_content: VP8
  
  /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                               build: 968
                          kurentoUrl: wss://online.vikipoyan.ir/bbb-webrtc-sfu
                    enableListenOnly: true
  
  
  # Potential problems described below
  # Warning: API URL IPs do not match host:
  #
  #                                IP from ifconfig: 49.12.60.238
  #  /var/lib/tomcat7/demo/bbb_api_conf.jsp: online.vikipoyan.ir
  
  
  # Warning: The API demos are installed and accessible from:
  #
  #    https://online.vikipoyan.ir
  #
  # and
  #
  #    https://online.vikipoyan.ir/demo/demo1.jsp
  #
  # 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:
  #
  #    apt-get purge bbb-demo
  
  # Warning: You have this server defined for https, but in
  #
  #   /etc/bigbluebutton/nginx/sip.nginx
  #
  #  did not find the use of https in definition for proxy_pass
  #
  #            proxy_pass http://49.12.60.238:5066;
  #
  
  # Warning: You have this server defined for https, but in
  #
  #   /etc/bigbluebutton/nginx/sip.nginx
  #
  #  did not find the use of port 7443 in definition for proxy_pass
  #
  #            proxy_pass http://49.12.60.238:5066;
  #
  </code></pre>
  <p>I tested everything i found and the problem still exists. is there any way?
  Thanks in advance.</p>