3 ms·
This is using sipgo as a back-to-back user agent (B2BUA). There are really two sessions going on: one between the SIP caller and sipgo, and a second between si
by wakamoleguy 3y ago
This is using sipgo as a back-to-back user agent (B2BUA). There are really two sessions going on: one between the SIP caller and sipgo, and a second between sipgo and the browser. These sessions each have their own signaling and media.
The interesting part is how the signalling is happening between the sipgo server and the browser. You copy your session description from the browser and paste it to the server! In a "real" application, you could send it over a custom API call or something, or you could use a standard protocol for initiating sessions (SIP!).
This is all to say, "bridging" between SIP and WebRTC is not nearly as magical as it is often made out to be. In some cases, the media can even be passed through without modification. (Although many SIP endpoints do not support e2ee and so a B2BUA is still needed to wrap/unwrap the encryption.) We were doing this a decade ago with SIP.js and OverSIP.
- Sean-Der 3y ago> This is all to say, "bridging" between SIP and WebRTC is not nearly as magical as it is often made out to be 100% agree. That is what I have been trying to solve with Pion/WebRTC for the Curious. It is portrayed as being harder then it is. Why people do that I don't know. It causes lots of problems though. * Developers are hesitant to get into WebRTC/VoIP because they think they couldn't figure it out * Companies are pushing proprietary alternatives and saying 'existing protocols are impossible to use' I am sure that some wonderful ideas never got built because the education/community just wasn't welcoming enough.