Configure ICE servers with Twilio

Estimated reading: 2 minutes 190 views

Odoo Discuss voice and video calls use WebRTC peer to peer connections, which can fail to connect if a participant is behind a symmetric NAT. Configuring an ICE server, using Twilio, fixes this. This guide covers creating a Twilio account and connecting it to Odoo.

How to create a Twilio account

  1. Go to Twilio’s website and click Sign up.
  2. Enter your name, email and password, and accept Twilio’s terms of service.
  3. Click Start your free trial and verify your email address.
  4. Add your phone number and enter the verification code sent by SMS.
  5. On the welcome page, answer: Video for the product, Other for what you plan to build, With no code at all for how, and 3rd party integrations for your goal.
  1. Check your billing country and click Get Started with Twilio.

How to find your Account SID and Auth Token

  1. Open your Twilio dashboard and click Develop in the sidebar.
  2. Under Account Info, note your Account SID and Auth Token.

How to connect Twilio to Odoo

  1. In Odoo, go to Settings > General Settings > Discuss.
  2. Tick Use Twilio ICE servers.
  3. Enter your Twilio Account SID and Auth Token, then click Save.

Optional: custom ICE servers

If Twilio is not configured or is unavailable, Odoo falls back on a custom ICE server list. Go to Settings > General Settings > Discuss and click ICE Servers under Custom ICE server list to add your own.

Frequently asked questions

Why do I need an ICE server for Discuss calls?

Odoo Discuss calls use WebRTC peer-to-peer connections, and if a participant is behind a symmetric NAT, an ICE server is needed to establish the connection.

What if I don’t want to use Twilio?

You can define a list of custom ICE servers instead, which Odoo falls back on if Twilio is not configured or unavailable.

Need help?

Need help configuring ICE servers for Odoo Discuss calls? Contact support@thoughtlogik.com or see our Odoo implementation services.

Leave a Reply

Your email address will not be published. Required fields are marked *

Learn how we helped 100 top brands gain success

Subscribe

×
Cancel