"SIP.js 0.7.0 is a minor version bump from 0.6.4," said OnSIP Developer Joseph Frazier. "It contains Attended Transfer support, improved Session and MediaHandler events, and a handful of other bug fixes. We recommend that all users upgrade to this latest version."
Here are some highlighted improvements:
- Our WebSocket dependency is now included using
require('ws'). Thanks to Browserify, this shouldn't affect most users. Node.js users will have one less thing to worry about.
- We are now using Promises internally. This has been the case on the Master branch for some time. Node.js users will be polyfilled to use
promiscuous, or Node.js native Promises if available.
- We are now using the Node.js native EventEmitter, bundled in Browserify. There are slight changes to the EventEmitter API due to this change, but old methods are supported (though deprecated) for now.
- Session has a new
terminatedmethod. (Okay, it's not new, but we fixed how it works and document it now.)
- Session termination events (
terminated) have been cleaned up and now behave more consistently, both in terms of internal behavior and RFC specs.
- The WebRTC MediaHandler now has many more events for ICE connection states and candidate gathering.
- Support for REFER with Replaces and INVITE with Replaces.
- A handful of other bug fixes.
So check it out! Grab SIP.js 0.7.0 today.