Skip to content

Commit

Permalink
3.7.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Jun 16, 2021
1 parent 1552aca commit 8d2a706
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

### 3.7.9


* RTCSession: allow sending DTMFs if 1XX was received. Credits to @BlindChickens.


### 3.7.8


Expand Down
8 changes: 4 additions & 4 deletions dist/jssip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* JsSIP v3.7.8
* JsSIP v3.7.9
* the Javascript SIP library
* Copyright: 2012-2021
* Homepage: https://jssip.net
Expand Down Expand Up @@ -17827,7 +17827,7 @@ module.exports = /*#__PURE__*/function (_EventEmitter) {
} // Check Session Status.


if (this._status !== C.STATUS_CONFIRMED && this._status !== C.STATUS_WAITING_FOR_ACK) {
if (this._status !== C.STATUS_CONFIRMED && this._status !== C.STATUS_WAITING_FOR_ACK && this._status !== C.STATUS_1XX_RECEIVED) {
throw new Exceptions.InvalidStateError(this._status);
} // Check Transport type.

Expand Down Expand Up @@ -17937,7 +17937,7 @@ module.exports = /*#__PURE__*/function (_EventEmitter) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
logger.debug('sendInfo()'); // Check Session Status.

if (this._status !== C.STATUS_CONFIRMED && this._status !== C.STATUS_WAITING_FOR_ACK) {
if (this._status !== C.STATUS_CONFIRMED && this._status !== C.STATUS_WAITING_FOR_ACK && this._status !== C.STATUS_1XX_RECEIVED) {
throw new Exceptions.InvalidStateError(this._status);
}

Expand Down Expand Up @@ -27900,7 +27900,7 @@ module.exports={
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.7.8",
"version": "3.7.9",
"homepage": "https://jssip.net",
"contributors": [
"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
Expand Down
4 changes: 2 additions & 2 deletions dist/jssip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/RTCSession.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,7 @@ module.exports = class RTCSession extends EventEmitter
this._status !== C.STATUS_CONFIRMED &&
this._status !== C.STATUS_WAITING_FOR_ACK &&
this._status !== C.STATUS_1XX_RECEIVED
)
)
{
throw new Exceptions.InvalidStateError(this._status);
}
Expand Down Expand Up @@ -1112,7 +1112,7 @@ module.exports = class RTCSession extends EventEmitter
this._status !== C.STATUS_CONFIRMED &&
this._status !== C.STATUS_WAITING_FOR_ACK &&
this._status !== C.STATUS_1XX_RECEIVED
)
)
{
throw new Exceptions.InvalidStateError(this._status);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.7.8",
"version": "3.7.9",
"homepage": "https://jssip.net",
"contributors": [
"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
Expand Down

0 comments on commit 8d2a706

Please sign in to comment.