Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b2bua with IPv4/v6 cannot receive RTP packets from SIP server only with IPv4 #193

Open
skhrshin opened this issue Aug 7, 2024 · 0 comments

Comments

@skhrshin
Copy link

skhrshin commented Aug 7, 2024

Overview

On an environment which supports both IPv4 and IPv6, b2bua sip-bridge mode passes IPv6 address to the upstream SIP servers. If they can send IPv6 packets, b2bua can hear RTP stream but it is unreachable if they can't.

Environment

Flexisip 2.3.4 on Debian GNU/Linux bookworm

Steps to reproduce

  1. Configure b2bua-server with sip-bridge mode
  2. Set up sip-bridge so that it would connect to SIP server which doesn't support IPv6 (like Docker container with default settings)
  3. Call from the client connecting to the proxy so that b2bua would bridge to that SIP server.

Expected behavior

Audio from the callee reaches the caller.

Actual behavior

The caller can hear nothing from the callee.

Remarks

The cause of this issue seems to be the address of b2bua passed to the upstream SIP server.

In my case, the SIP server I want b2bua to bridge to was on a Docker container, so I needed to configure IPv6 for the container as workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant