Skip to content

[ERR] switch_core_media.c:9685 AUDIO RTP REPORTS ERROR: [Bind Error! <My_External_IP>:17830] #117

Open

Description

@ralfi

Hi guys,

first of all thanks a lot for bbb-docker, i am using this yesterday the first time and after a little bit of adjusting .env all container going up successfull. Connecting to Web-Interface and anything else - also my webcam video cams on different devices from inside or outside my LAN - works in conjunction with my local apache reverse proxy configuration and my own little COTURN TURN server from hetzner.

Note: On the same machine resides a little Matrix Server and a Nextcloud instances, both as docker container setup. Both works with my hetzner COTURN for VOIP with video and audio.

Only one issue exist: Connecting audio do not work with error above from freeswitch container log. There is only one error in all container logs, nothing else... I am looking around the docs and see only a hint if a kurento error appears. What could be wrong here? But if i understand this the error occurs if freeswitch try to connect the Audio RTP Stream to my External IP? Could it be related with the apache reverse proxy config or a setup VAR in the .env file?

And - see above - video works with my TURN server, see it in the logs...

Activity

  1. ralfi commented on May 19, 2021

    @ralfi
    Author

    ... my apache reverse proxy conf:

    <VirtualHost *:443>
    
            ServerName bbb.FQDN.ddnss.de
    
            ProxyPreserveHost On
    
            RewriteEngine On
            RewriteCond %{HTTP:UPGRADE} ^Websocket$ [NC,OR]
            RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
            RewriteRule .* ws://127.0.0.1:8080%{REQUEST_URI} [P,QSA,L]
    
    
            <Location />
                Require all granted
                ProxyPass http://127.0.0.1:8080/
                ProxyPassReverse http://127.0.0.1:8080/
            </Location>
    
    
    SSLCertificateFile /etc/letsencrypt/live/bbb.FQDN.ddnss.de/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/bbb.FQDN.ddnss.de/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
    
  2. ralfi commented on May 19, 2021

    @ralfi
    Author

    Screenshot 2021-05-19 154928-1

  3. ralfi commented on May 19, 2021

    @ralfi
    Author

    It seems to me that is a freeswitch prob... I dont know how it works but binding to external ip cloud be wrong. IMHO freeswitch have to bind to 127.0.0.1, or?

  4. ralfi commented on May 21, 2021

    @ralfi
    Author

    Related to my config behind apache reverse proxy because clean new install on hetzner cloud virtual box works well.

  5. longshuai commented on Sep 3, 2021

    @longshuai

    [Bind Error! <My_External_IP>:17830]
    This is because, your server is behind the NAT, your external IP address is not your network card ip address, freeswitch can not bind to a address that not exist.

    the first method is:
    follow th docs/behind-nat.md
    add your External IP address to your Loopback or network card
    ip addr add External-IP-addrss/32 dev lo

    The second Method is:
    you can change the file
    bbb-docker/mod/freeswitch/conf/sip_profiles/external.xml
    change
    param name="rtp-ip" value="$${external_ip_v4}"
    to
    param name="rtp-ip" value="$${local_ip_v4}"
    But I do not understand why bigbluebuttong set the rtp-ip to external_ip_v4.

  6. ralfi commented on Sep 4, 2021

    @ralfi
    Author

    Thanks a lot! I will try it asap...

  7. rocheston commented on May 4, 2023

    @rocheston

    you can change the file
    bbb-docker/mod/freeswitch/conf/sip_profiles/external.xml
    change
    param name="rtp-ip" value="$${external_ip_v4}"
    to
    param name="rtp-ip" value="$${local_ip_v4}"

    Still does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions