Features

As we will add bonus features to WebRTC app, we will list them (and their usage) here.

SIP URI Interception

WebRTC can intercept SIP links on your page (that is displayed in custom tab), as long as they follow rules for call URIs, and you embed our intercept script on your page. Intercept script can be linked by adding /assets/intercept.js to your WebRTC URL and its script tag needs id webrtc-intercept, so for example if your app is hosted on your.webrtc.app.com, the script will be linked this way:

<script src="https://your.webrtc.app.com/assets/intercept.js" id="webrtc-intercept"></script>

Embedded script detects valid links even after page gets changed by JavaScript.

Dial actions

We support most of dial actions, but functionality is often limited to pure audio / video calls or simple transitions to contact’s page:

dialAction
WebRTC functionality
autoCall
audio call
voiceCall
audio call
videoCall
video call
gsmCall
audio call
webCallback
no action
callThrough
no action
text
transition to contact’s call history
options
transition to contact’s call history
forceOffnetCall
audio call

Schemes

On default settings WebRTC intercepts all mentioned schemes (sip, cloudsip, groundwire and asoftphone), but if you have whitelabel app you can specify single scheme for interception in the portal (under whitelabel / URI schemes).

Pre-filled username

The WebRTC app can be loaded with the username field on the login screen already populated. Just use the full login url with the parameter username at the end:

http://www.your.webrtc.app.com/#/cid/pub/credentials/signin?username=user-login

This will open the login page with the user-login already typed in the username field.

If the user opens the link in the tab with WebRTC configured with another username (for example when he receives the link through a message in WebRTC), he will be logged out and taken to the login screen with the pre-filled username. If the user-login is the same as the username of the current user, user will stay logged in and will just be redirected to the keypad.