Skip to content

SIP account can't receive incoming calls with TLS activated

When TLS is enabled in the SIP account, no incoming calls are received.

Environment:

  • OS: Android 11
  • Jami version: Taranis - 20220615-01 (F-Droid)
  • Device: Teracube 2e
  • SIP provider: voip.ms

Steps to reproduce:

  1. Create a SIP account following this post
  2. Follow the Jami wiki on voip.ms for the basic configuration
  3. Activate: Encrypt media streams (SRTP)
  4. Activate: Enable SDES as key exchange protocol
  5. Activate: Use TLS Transport
  6. Permutate between 5061 (voip.ms TLS port) and the default value for whatever port options available

Expected and actual behaviors:

  • On Jami, the account is online
  • Echo test work (voip.ms: 4443)
  • On the portal, it is registered with secure transport

Expected behavior:

  • I can receive incoming calls

Actual behavior:

  • I can't receive incoming calls

Following steps:

  1. Deactivate "Use TLS transport"

Actual behaviors:

  • On Jami, the account is online
  • Echo test work (voip.ms: 4443)
  • On the portal, it is registered but no with secure transport
  • I can receive incoming calls

Following steps:

  1. Install Linphone for Android
  2. Follow the Linphone for Android tutorial specific for voip.ms here

Expected and actual behaviors:

  • On Linphone, the account is online
  • Echo test work (voip.ms: 4443)
  • On the portal, it is registered with secure transport
  • I can receive incoming calls

For the same environment:

  • same network
  • same voip.ms portal configuration
  • same device

it works for Linphone but not for Jami.