The Doubango Telecom webrtc2sip gateway includes an RTCWeb Breaker component. The Doubango RTCWeb Breaker is a B2BUA. It would be useful to have a Kamailio RTCWeb Breaker that is lighter-weight and which can be used without degrading the SIP signalling by using a B2BUA.
An RTCWeb Breaker converts SDP and media streams between those supported by WebRTC end-points and non-WebRTC end-points. An RTCWeb Breaker does not need to transcode the media streams; G.711 is supported by most SIP UAs and is a Mandatory To Implement (MTI) codec in WebRTC, and many SIP UAs now support OPUS and VP8 too.
The RTCWeb Breaker should consist of two components:
Kamailio should control the RTCWeb Breaker using a light-weight TCP protocol. SDP should be handled and manipulated by the RTCWeb daemon.
RTCWeb Breaker sessions should be initiated within Kamailio failure routes and branch-failure routes. In parallel forking scenarios Kamailio should create distinct RTCWeb Breaker sessions in branch-failure routes enabling sessions to be successfully forked to WebRTC and non-WebRTC end-points.
The RTCWeb Breaker SHOULD support: