Built-in call
Embedded call function (WebRTC) is a technology that allows you to make and receive calls directly in your browser. It should be taken into account that not all browsers or their versions support this technology. You can learn more about currently supported browsers on the technology’s official page.
WebRTC is an open source solution, and some widgets for Kommo integration with virtual PBXs use it.
The embedded call interface looks different in different browsers. In Mozilla Firefox, this is the microphone icon. In Google Chrome, the active function is displayed as a red sign on the tab and a video camera icon on the right side of the address bar, confirming access to your microphone.
Example of a built-in call
Example of implementing WebRTC in Kommo
initYourWidget: function () {
$.getScript('///*link*//your_script.min.js', _.bind(function () {
/* Your VoIP script processing*/
}, this));
initialize: function (params) {
APP.widgets.notificationsPhone({
ns: this.widget.ns,
click: _.bind(function () {
this.$el.toggle(); //Displaying a WebRTC interface window
}, this)
});
}