WebRTC
Bitrix24 allows you to embed an external WebRTC client into the web version of the product. To do this, you need to follow several steps:
- Upload your WebRTC client to a special location for embedding widgets
PAGE_BACKGROUND_WORKER; - In case of an incoming call, register it using the standard telephony integration method Register an External Call in Bitrix24 telephony.externalCall.register, which will also display the standard call detail form to the user;
- Manage the state and buttons of the call detail form using special js methods available for the widget handler
PAGE_BACKGROUND_WORKER; - After the call ends, notify Bitrix24 about it using the method Finish Call and Log It in Telephony Statistics telephony.externalCall.finish.
Other functionalities, such as uploading call recordings to Bitrix24, can also be implemented using the corresponding telephony integration methods without referring to the WebRTC client.
Copied
Previous