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

[Bug]: Unable to use two SIP servers, one which uses UDP with media_encryption=none and one which uses TLS with media_encryption=srtp #836

Open
brad2014 opened this issue Apr 27, 2024 · 2 comments
Labels

Comments

@brad2014
Copy link

Context

I want to run linphone so that it simultaneously registers two accounts.

  1. uses transport=UDP and media_encryption=none
  2. uses transport=TLS and media_encryption=srtp

If in preferences I disable srtp, then outbound calls on account 1 work, but outbound calls on account 2 give "Remote party cannot accept the call".

If in preferences I enable srtp, then outbound calls on account 2 work, but outbound calls on account 1 immediately hang up (no error message).

How do I configure linphone so that each registered account has a its own media_encryption policy?

General information

  • Device: Macbook M1 pro
  • OS: MacOS Sonoma 14.4.1
  • Version of the App: Desktop 5.2.4 - Qt5.15.2
  • Version of the SDK: Core 5.3.41

Expected behaviour

There would be a UI toggle or linphonerc configuration entry that would enable media_encryption=srtp only for Proxy_2.

To Reproduce

Add two accounts, one which requires TLS+SRTP and one which requires UDP+RTP.

Additional context

No response

SDK logs URL

No response

@brad2014 brad2014 added the bug label Apr 27, 2024
@kobaz
Copy link

kobaz commented Jul 5, 2024

Linphone is missing the ability to set per-sip-account transport options like media encryption. This is definitely a bad design that these encryption options are global.

@tkoeppen
Copy link

Using MacOS version Desktop 5.2.5 - Qt5.15.2 Core 5.3.68 I may have a related topic:

  1. configure 1st sip account with ICE=true
  2. configure 2nd sip account with ICE=false

ICE=false seems not to be detected for the 2nd account.
After deleting 1st account in Linphone and restart the client app,
the 2nd SIP account works, as ICE=false seems to be correct recognized now.
Will debug this further to see, if this is related.

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

No branches or pull requests

3 participants