Configuring the WebRTC Gateway
On this topic
With the 3CX WebRTC Gateway feature you can share a WebRTC call link with anyone via chat or email allowing them to place a call from any open standards browser (Chrome, Firefox), directly to your extension, without needing to install a client. You can also configure links or buttons on your website to enable visitors to call extensions directly from your site.
Important Note: To be able to configure WebRTC call links, you need to make sure that you have a Public IP Address and have configured a correct and resolvable FQDN during the setup of your 3CX Phone System.
Step 1: Configure WebRTC Links for your Extensions
Enable WebRTC links for your extensions. You will then be able to use these links from browsers that support WebRTC to receive calls directly to extensions.
- In the 3CX Management console go to “Settings” > “Click to Call (WebRTC)”.
- Select the extensions that you wish to enable Click to Call for. A random DID string will be generated. You can leave it as is, or modify it to make it easy to remember. In this example we modified the string and renamed it to “support”. Note: The DID mask you enter must not contain any special characters. Use only numbers from 0-9 and lowercase letters from a-z.
- Proceed to enable WebRTC links for your Call Queues, Ring Groups, and Digital Receptionists.
- Click “Apply” to save.
Step 2: Firewall Configuration - Port Forwarding for WebRTC
Go to your firewall and port forward the following range of ports UDP 9256-9500. See our guides on Firewall & Router Configuration for more information.
Note: You can directly open ports UDP 9000-9500. These ports are shared for Audio Calls (9000-9250) and WebRTC Calls (9256-9500).
After you have completed these changes, you can successfully give the WebRTC Url to anyone, via email, chat or add it to your email signature. Callers from outside your network, can simply click on the WebRTC Url, and reach the enabled extension, queue or digital receptionist from a WebRTC Standards browser without installing a SIP Client.
Step 3: Putting Click to Call links on your website
If you want to publish links on your website to allow “Click to Call”, then you must whitelist your website’s IP in the WebRTC gateway configuration.
- In the 3CX Management Console, navigate to “Settings > Click 2 Call (WebRTC )” node.
- Click on the “Trusted Apps” button and type the Public IP Address of your website. Click “Add”. Click “OK” to save changes.
- Now you can go to your website and add Call Buttons which trigger requests to WebRTC Url’s.
- When customers click on the link, the WebRTC client page will open up in their browser. They will need to Allow use of microphone and camera and then click “Call Now” to place the call.
- See How to share your WebRTC Call Link that will allow others to call you.
- Elevate a Call to a Video Call – Include video in your call (3CXPhone for Windows).
- Share your Screen – Conduct demonstrations or collaborate remotely (3CXPhone for Windows).
- See Installing 3CX Phone System for instructions on setting up your FQDN.