Skip to content

Latest commit

 

History

History
293 lines (217 loc) · 20.3 KB

CHANGELOG.md

File metadata and controls

293 lines (217 loc) · 20.3 KB

CHANGELOG

Version 0.6.18 (released in 2015-02-09)

  • Terminate the call with a proper BYE/CANCEL/408/500 if request timeout, transport error or dialog error happens.
  • Fix "rtcninja" dependency problem.

Version 0.6.17 (released in 2015-02-02)

  • RTCSession: Improve isReadyToReOffer().

Version 0.6.16 (released in 2015-02-02)

  • RTCSession: Avoid calling hold()/unhold/renegotiate() if an outgoing renegotiation is not yet finished (return false).
  • RTCSession: Add options and done arguments to hold()/unhold/renegotiate().
  • RTCSession: New public method isReadyToReOffer().

Version 0.6.15 (released in 2015-01-31)

  • RTCSession: Emit iceconnetionstatechange event.
  • Update "rtcninja" dependency to 0.4.0.

Version 0.6.14 (released in 2015-01-29)

  • RTCSession: Include initially given rtcOfferConstraints in sendReinvite() and sendUpdate().

Version 0.6.13 (released in 2015-01-29)

  • Properly keep mute local audio/video if remote is on hold, and keep it even if we re-offer. Also fix SDP direction attributes in re-offers according to current local and remote "hold" status.

Version 0.6.12 (released in 2015-01-28)

  • Update "rtcninja" dependency to 0.3.3 (fix "RTCOfferOptions").

Version 0.6.11 (released in 2015-01-27)

  • Fix "Session-Expires" default value to 90 seconds.

Version 0.6.10 (released in 2015-01-27)

  • Update "rtcninja" dependency to 0.3.2 (get the rtcninja.canRenegotiate attribute).

Version 0.6.9 (released in 2015-01-27)

  • Don't reply 405 "Method Not Supported" to re-INVITE even if the UA's "newRTCSession" event is not set.
  • RTCSession: Allow extraHeaders in renegotiate().

Version 0.6.8 (released in 2015-01-26)

  • RTCSession: Don't ask for getUserMedia() in outgoing calls if mediaConstraints is {audio:false, video:false}. It is user's responsability to, in that case, provide offerToReceiveAudio/Video in rtcOfferConstraints.

Version 0.6.7 (released in 2015-01-26)

  • ' UA.call()': Return the RTCSession instance.
  • ' UA.sendMessage()': Return the Message instance.

Version 0.6.6 (released in 2015-01-24)

  • RTCSession: Don't process SDPs in retranmissions of 200 OK during reINVITE/UDATE.
  • RTCSession: Emit 'reinvite' when a reINVITE is received.
  • RTCSession: Emit 'update' when an UPDATE is received.

Version 0.6.5 (released in 2015-01-20)

  • RTCSession: Don't override this.data on answer() (unless options.data is given).

Version 0.6.4 (released in 2015-01-19)

  • RTCSession#connect(): Add rtcAnswerContraints options for later incoming reINVITE or UPDATE with SDP offer.
  • RTCSession#answer(): Add rtcOfferConstraints options for later incoming reINVITE without SDP offer.
  • RTCSession#renegotiate(): Add rtcOfferConstraints options for the UPDATE or reINVITE.
  • RTCSession#answer(): Remove audio or video from the given getUserMedia mediaConstraints if the incoming SDP has no audio/video sections.

Version 0.6.3 (released in 2015-01-17)

  • Bug fix. Properly cancel when only '100 trying' has been received.

Version 0.6.2 (released in 2015-01-16)

  • Bug fix: Do not set "Content-Type: application/sdp" in body-less UPDATE requests.

Version 0.6.1 (released in 2015-01-16)

Version 0.6.0 (released in 2015-01-13)

  • debug module.
  • rtcninja module.
  • Can renegotiate an ongoing session by means of a re-INVITE or UPDATE method (useful if the local stream attached to the RTCPeerConnection has been modified).
  • Improved hold/unhold detection.
  • New API options for UA#call() and RTCSession#answer().

Version 0.5.0 (released in 2014-11-03)

  • JsSIP runs in Node!
  • The internal design of JsSIP has also been modified, becoming a real Node project in which the "browser version" (jssip-0.5.0.js or jssip-0.5.0.min.js) is generated with browserify. This also means that the browser version can be loaded with AMD or CommonJS loaders.

Version 0.4.3 (released in 2014-10-29)

Version 0.4.2 (released in 2014-10-24)

  • (ca7702e) Fix #257. RTCMediaHandler: fire onIceCompleted() on next tick to avoid events race conditions in Firefox 33.

Version 0.4.1 (released in 2014-10-21)

This version is included into the Bower registry which means $ bower install jssip.

Version 0.4.0 (released in 2014-10-21)

Version 0.3.0 (released in 2013-03-18)

  • (fea1326) Don't validate configuration.password against SIP URI password BNF grammar (fix #74).
  • (3f84b30) Make RTCSession local_identity and remote_identity NameAddrHeader instances
  • (622f46a) remove 'views' argument from UA.call()
  • (940fb34) Refactored Session
  • (71572f7) Rename causes.IN_DIALOG_408_OR_481 to causes.DIALOG_ERROR and add causes.RTP_TIMEOUT.
  • (c79037e) Added 'registrar_server' UA configuration parameter.
  • (2584140) Don't allow SIP URI without username in configuration.uri.
  • (87357de) Digest authentication refactorized.
  • (6867f51) Add 'cseq' and 'call_id' attributes to OutgoingRequest.
  • (cc97fee) Fix. Delete session from UA sessions collection when closing
  • (947b3f5) Remove RTCPeerConnection.onopen event handler
  • (6029e45) Enclose every JsSIP component with an inmediate function
  • (7f523cc) JsSIP.Utils.MD5() renamed to JsSIP.Utils.calculateMD5() (a more proper name for a function).
  • (1b1ab73) Fix. Reply '200' to a CANCEL 'before' replying 487 to the INVITE
  • (88fa9b6) New way to handle Streams
  • (38d4312) Add Travis CI support.
  • (50d7bf1) New grunt grammar task for automatically building customized Grammar.js and Grammar.min.js.
  • (f19842b) Fix #60, #61. Add optional parameters to ua.contact.toString(). Thanks @ibc
  • (8f5acb1) Enhance self contact handling
  • (5e7d815) Fix. ACK was being replied when not pointing to us. Thanks @saghul
  • (1ab6df3) New method JsSIP.NameAddrHeader.parse() which returns a JsSIP.NameAddrHeader instance.
  • (a7b69b8) Use a random user in the UA's contact.
  • (f67872b) Extend the use of the 'options' argument
  • (360c946) Test units for URI and NameAddrHeader classes.
  • (826ce12) Improvements and some bug fixes in URI and NameAddrHeader classes.
  • (e385840) Make JsSIP.URI and JsSIP.NameAddrHeader more robust.
  • (b0603e3) Separate qunitjs tests with and without WebRTC. Make "grunt test" to run "grunt testNoWebRTC".
  • (659c331) New way to handle InvalidTargetErorr and WebRtcNotSupportedError
  • (d3bc91a) Don't run qunit task by default (instead require "grunt test").
  • (e593396) Added qunitjs based test unit (for now a parser test) and integrate it in grunt.js.
  • (da58bff) Enhance URI and NameAddrHeader
  • (df6dd98) Automate qunit tests into grunt process
  • (babc331) Fix. Accept multiple headers with same hader name in SIP URI.
  • (716d164) Pass full multi-header header fields to the grammar
  • (2e18a6b) Fix contact match in 200 response to REGISTER
  • (3f7b02f) Fix stun_host grammar rule.
  • (7867baf) Allow using a JsSIP.URI instance everywhere specting a destination.
  • (a370c78) Fix 'maddr' and 'method' URI parameters handling
  • (537d2f2) Give some love to "console.log|warn|info" messages missing the JsSIP class/module prefix.
  • (8cb6963) In case null, emptry string, undefined or NaN is passed as parameter value then its default value is applied. Also print to console the processed value of all the parameters after validating them.
  • (f306d3c) hack_ip_in_contact now generates a IP in the range of Test-Net as stated in RFC 5735 (192.0.2.0/24).
  • (528d989) Add DTMF feature
  • (777a48f) Change API methods to make use of generic 'options' argument
  • (3a6971d) Fix #26. Fire 'unregistered' event correctly.
  • (5616837) Rename 'outbound_proxy_set' parameter by 'ws_servers'
  • (37fe9f4) Fix #54. Allow configuration.uri username start with 'sip'
  • (a612987) Add 'stun_servers' and 'turn_servers' configuration parameters
  • (9fad09b) Add JsSIP.URI and JsSIP.NameAddrHeader classes
  • (f35376a) Add 'Content-Length' header to every SIP response
  • (3081a21) Enhance 'generic_param' grammar rule
  • (e589002) Fix. Allow case-insentivity in SIP grammar, when corresponds
  • (aec55a2) Enhance transport error handling
  • (d0dbde3) New stun_servers and turn_servers parameters
  • (47cdb66) Add 'extraHeaders' parameter to UA.register() and UA.unregister() methods
  • (69fbdbd) Enhance in-dialog request management
  • (da23790) Fix 'UTF8-NONASCII' grammar rule
  • (3f86b94) Require a single grunt task for packaging
  • (81595be) Add some log lines into sanity check code for clarity
  • (a8a7627) Enhance RTCPeerconnection SDP error handling. Thanks @ibc for reporting.
  • (3acc474) Add turn configuration parameters for RTCPeerConnection
  • (9fccaf5) Enhance 'boolean' comparison
  • (24fcdbb) Make preloaded Route header optional.
  • (defeabe) Automatic connection recovery.
  • (a45293b) Improve reply() method.
  • (f05795b) Fix. Prevent outgoing CANCEL messages from being authenticated
  • (5ed6122) Update credentials with the new authorization upon 401/407 reception
  • (2c9a310) Do not allow reject-ing a Message or Session with an incorrect status code
  • (35e5874) Make optional the reason phrase when reply-ing
  • (85ca354) Implement credential reuse
  • (351ca06) Fix Contact header aggregation for incoming messages
  • (d6428e7) Fire UA 'newMessage' event for incoming MESSAGE requests regardless they are out of dialog or in-dialog.
  • (1ab3423) Intelligent 'Allow' header field value. Do not set a method in the 'Allow' header field if its corresponding event is not defined or has zero listeners.
  • (4e70a25) Allow 'text/plain' and 'text/html' content types for incoming SIP MESSAGE Fixed incoming SIP MESSAGE processing when the Content-Type header contains parameters
  • (d5f3432) Fixed the message header split when a parsing error occurs. Parsing error log enhanced.

Version 0.2.1 (released in 2012-11-15)

  • (24e32c0) UA configuration password parameter is now optional.
  • (ffe7af6) Bug fix: UA configuration display_name parameter.
  • (aa51291) Bug fix: Allows multibyte symbols in UA configuration display_name parameter (and require not to write it between double quotes).
  • (aa48201) Bug fix: "cnonce" value value was not being quoted in Digest Authentication (reported by vf1).
  • (1ecabf5) Bug fix: Fixed authentication for in-dialog requests (reported by vf1).
  • (11c6bb6) Allow receiving WebSocket binary messages (code provided by vf1).
  • (0e8c5cf) Bug fix: Fixed Contact and Record-Route header split (reported by Davide Corda).
  • (99243e4) Fixed BYE and ACK error handling.
  • (0c91285) Fixed failure causes in 'registrationFailed' UA event.

Version 0.2.0 (released in 2012-11-01)

  • First stable release with full website and documentation.
  • Refactored sessions, message and events API.

Version 0.1.0 (released in 2012-09-27)

  • First release. No documentation.