Skip to content

Commit

Permalink
0.6.2: Do not set "Content-Type: application/sdp" in body-less UPDATE…
Browse files Browse the repository at this point in the history
… requests.
  • Loading branch information
ibc committed Jan 16, 2015
1 parent b771dc5 commit 93c0cd3
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
=========

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)
--------------------------------------

Expand Down
5 changes: 3 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
Name: JsSIP
Maintainer: José Luis Millán <jmillan@aliax.net>
Copyright (c) 2012-2014 José Luis Millán - Versatica <http://www.versatica.com>
Author: José Luis Millán <jmillan@aliax.net>
Core Developer: Iñaki Baz Castillo <ibc@aliax.net>
Copyright (c) 2012-2014 José Luis Millán - Versatica <https://github.com/versatica/>


License: The MIT License
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jssip",
"version": "0.6.1",
"version": "0.6.2",
"description": "the Javascript SIP library",
"main": "dist/jssip.js",
"homepage": "http://jssip.net",
Expand Down
7 changes: 4 additions & 3 deletions dist/jssip-0.6.1.js → dist/jssip-0.6.2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* JsSIP.js 0.6.1
* JsSIP.js 0.6.2
* the Javascript SIP library
* Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
Expand Down Expand Up @@ -15487,14 +15487,15 @@ function sendUpdate(options) {
mangle = options.mangle || null;

extraHeaders.push('Contact: ' + this.contact);
extraHeaders.push('Content-Type: application/sdp');

// Session Timers.
if (this.sessionTimers.running) {
extraHeaders.push('Session-Expires: ' + this.sessionTimers.currentExpires + ';refresher=' + (this.sessionTimers.refresher ? 'uac' : 'uas'));
}

if (sdpOffer) {
extraHeaders.push('Content-Type: application/sdp');

createLocalDescription.call(this, 'offer',
// success
function(sdp) {
Expand Down Expand Up @@ -23642,7 +23643,7 @@ module.exports={
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "0.6.1",
"version": "0.6.2",
"homepage": "http://jssip.net",
"author": "José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
"contributors": [
Expand Down
6 changes: 3 additions & 3 deletions dist/jssip-0.6.1.min.js → dist/jssip-0.6.2.min.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions dist/jssip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* JsSIP.js 0.6.1
* JsSIP.js 0.6.2
* the Javascript SIP library
* Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
Expand Down Expand Up @@ -15487,14 +15487,15 @@ function sendUpdate(options) {
mangle = options.mangle || null;

extraHeaders.push('Contact: ' + this.contact);
extraHeaders.push('Content-Type: application/sdp');

// Session Timers.
if (this.sessionTimers.running) {
extraHeaders.push('Session-Expires: ' + this.sessionTimers.currentExpires + ';refresher=' + (this.sessionTimers.refresher ? 'uac' : 'uas'));
}

if (sdpOffer) {
extraHeaders.push('Content-Type: application/sdp');

createLocalDescription.call(this, 'offer',
// success
function(sdp) {
Expand Down Expand Up @@ -23642,7 +23643,7 @@ module.exports={
"name": "jssip",
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "0.6.1",
"version": "0.6.2",
"homepage": "http://jssip.net",
"author": "José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
"contributors": [
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": "0.6.1",
"version": "0.6.2",
"homepage": "http://jssip.net",
"author": "José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",
"contributors": [
Expand Down

0 comments on commit 93c0cd3

Please sign in to comment.