BrowserCall – WebRTC

WebRTC is an open standard for real time communication (audio and video) from a web browser. It works without installing any additional client software. During the specification of the standard, special value has been placed on security and privacy. As a result, all connections established via WebRTC are encrypted. Before an audio or video call is established, the browser asks the user to grant access to microphone and camera. Based on this technology, we provide the TENIOS BrowserCall button. The BrowserCall is optional and switched off by default. Currently, only newer versions of the web browsers Google Chrome and Mozilla Firefox are supported, the support of additional browsers is in planning.

BrowserCall Sources

The TENIOS BrowserCall routing enables you to configure routings and assign them to various sources. A source can be a website, in which a BrowserCall button is embedded, for instance. A BrowserCall source has the following properties:

Source The domain or IP address of the website in which the BrowserCall button is embedded. You can embed multiple BrowserCall buttons on the same domain, the exact mapping is determined by the token which is explained further in the next section.
Caller ID The phone number, which should be signaled when the call is forwarded to the PSTN.
Token A Token is automatically generated when a new WebRTC source is added. It will be included in every call request, so that the origin of a web call can be clearly determined.
Description A description of the BrowserCall source (optional)

After you have added a BrowserCall source, please follow the instructions on how you can embed a BrowserCall button in your website, which are displayed after you click on the button Add Widget. Next, you can assign a routing to the BrowserCall source, when you click on the button Edit Routing. The Routing options are equal to the ones which are available under number or trunk routing. You can play announcements, forward calls to the PSTN or to SIP endpoints, record voice mails, etc. A BrowserCall source is essentially just another communication channel over which you can route calls to the TENIOS platform.

BrowserCall documentation

This documentation describes the BrowserCall widget which you can integrate into your own website to allow your users to make phone calls directly from your site. Important notes:

  • On HTTPS websites, the widget runs directly within your page. On HTTP websites, however, W3C standards do not allow to make browser calls. Instead, a special pop-up window with the same look and feel will be opened when you click on the BrowserCall button. The call can be initiated by clicking the BrowserCall button in this window.
  • Our widget works only with Chrome and Firefox. In other browsers it will not be visible on the page.
  • Integration This section describes the simplest way of integrating the BrowserCall widget on your site. In this case you need to add only one line of code to your project.
  • File Structure This section describes the general file structure of the BrowserCall widget.
  • JavaScript Documentation This section describes the JavaScript documentation of the BrowserCall widget.
  • CSS Documentation This section provides information on how to change the style of the widget.
  • SCSS Documentation This section describes the SCSS documentation of the BrowserCall widget.
  • Advanced tutorial: Create Your Own Widget A tutorial for advanced users on how to create your own BrowserCall widget.