Daily updates from Odoo
Thursday, March 3, 2022
1 change
Enhancements to existing features
The VoIP calling library has been upgraded to a newer version to improve standards compliance and compatibility with phone systems. This change modernizes the calling foundation and prepares the module for future improvements, with a meaningful impact on call handling behavior such as transfers.
Original PR description
This commit updates the SIP.js library from v0.13.8 to v0.20.0. The new SIP.js API is substantially different from the old one and introduces many breaking changes, including: + Replacing all events with "delegates" + No longer providing any interface to catch userMedia events + Renaming classes, for example: UA -> UserAgent + Renaming/deleting/reorganizing User Agent/SD-handler options + Replacing registration methods on UA with a new class Registerer + Replacing invitation methods on UA with a new class Inviter + Replacing plain text URIs with instances of the new class URI Reasons to upgrade the library are: + Better compliance with the RFC and therefore better compatibility + Fewer lines of code + Interesting step for further refactorings Task-2765536