ICE error 1007 Microphone test mobile

483 views
Skip to first unread message

Techwicky

unread,
May 8, 2020, 8:35:49 AM5/8/20
to BigBlueButton-dev
Hi all,
When i try to join a room and starting echo test for microphone,its giving ICE error 1007.
Ay android version is 10. On demo test site when i try the same i have a popup for mic permission in android, but from my site the permission window is not coming, though i can see from android 10 feature on notification that mic is in use by the site.

I have turn server installed along with bbb and greenlight.

ybazlov

unread,
May 8, 2020, 12:52:13 PM5/8/20
to BigBlueButton-dev
This happened to my server when I upgraded to BigBlueButton 2.2.9. The server is behind a NAT firewall, and I have no turn server. When installing BBB initially, I followed http://docs.bigbluebutton.org/2.2/configure-firewall#update-freeswitch and everything worked.

But as a result of the upgrade, some of the settings seem to have reverted to their default vaules. The following fixed ICE error 1007:

  • Edit the file /opt/freeswitch/conf/sip_profiles/external.xml on the machine which hosts the BBB server: say,
    sudo vim /opt/freeswitch/conf/sip_profiles/external.xml

  • Locate the lines
    <param name="ext-rtp-ip" value="$${local_ip_v4}"/>
    <param name="ext-sip-ip" value="$${local_ip_v4}"/>
  • Replace with:
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
    <param name="ext-sip-ip" value="$${external_sip_ip}"/>

  • Restart BigBlueButton:
    sudo bbb-conf --restart --setip
    <external hostname>

Of course, this fix will only work if all the other steps in http://docs.bigbluebutton.org/2.2/configure-firewall have also been followed. This includes defining external_rtp_ip and external_sip_ip in  /opt/freeswitch/conf/vars.xml . But in my case, the customised   /opt/freeswitch/conf/vars.xml was not changed as a result of the upgrade; /opt/freeswitch/conf/sip_profiles/external.xml was.

P.S. I inserted the following into /etc/bigbluebutton/bbb-conf/apply-config.sh to hopefully prevent the above problem from reoccuring after the next upgrade:

echo Patching /opt/freeswitch/conf/sip_profiles/external.xml
patch --forward /opt/freeswitch/conf/sip_profiles/external.xml << '_ENDOFPATCH_'
@@ -69,8 +69,8 @@
     -->
     <param name="rtp-ip" value="$${local_ip_v4}"/>
     <param name="sip-ip" value="$${local_ip_v4}"/>
-    <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}"/>
     <param name="rtp-timeout-sec" value="300"/>
     <param name="rtp-hold-timeout-sec" value="1800"/>
     <param name="enable-3pcc" value="proxy"/>
_ENDOFPATCH_



Shantanu Dhanuka

unread,
Dec 22, 2020, 10:42:10 AM12/22/20
to BigBlueButton-dev

I was having the exact same issue on Azure. When accessing the demo pages on my newly setup server, via chrome on my android phone, echo test was working with wifi and giving 1007 ICE error when using 4G mobile data. I had configured my TURN server exactly as described in the guide. Funny thing was it was working even if I used someone else's mobile data via hotspot!

After a lot of searching, I was finally able to fix the issue by opening ports on Azure NAT, as described here: https://docs.bigbluebutton.org/2.2/troubleshooting.html#server-running-behind-nat

Hope this helps
Reply all
Reply to author
Forward
0 new messages