Skip to content

Commit 61242db

Browse files
committed
s/http/https/g
1 parent ce16bf5 commit 61242db

File tree

11 files changed

+56
-66
lines changed

11 files changed

+56
-66
lines changed

BUILDING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## What you need to build JsSIP
22

3-
You just need to have [Node.js](http://nodejs.org/) and [Git](http://git-scm.com/).
3+
You just need to have [Node.js](https://nodejs.org/) and [Git](https://git-scm.com/).
44

55

66
### Node.js
@@ -9,7 +9,7 @@ You just need to have [Node.js](http://nodejs.org/) and [Git](http://git-scm.com
99

1010
### Git
1111

12-
* [Install Git](http://git-scm.com/book/en/Getting-Started-Installing-Git)
12+
* [Install Git](https://git-scm.com/book/en/Getting-Started-Installing-Git)
1313

1414

1515
## How to build JsSIP

CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -792,16 +792,16 @@ Version 0.4.2 (released in 2014-10-24)
792792
Version 0.4.1 (released in 2014-10-21)
793793
--------------------------------------
794794

795-
* This version is included into the [Bower](http://bower.io/) registry which means `$ bower install jssip`.
795+
* This version is included into the [Bower](https://bower.io/) registry which means `$ bower install jssip`.
796796

797797

798798
Version 0.4.0 (released in 2014-10-21)
799799
--------------------------------------
800800

801-
* (http://jssip.net/documentation/0.4.x/api/session) Hold/Unhold implementation
802-
* (http://jssip.net/documentation/0.4.x/api/session) Mute/Unmute implementation
803-
* (http://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#instance_id) New 'instance_id' configuration parameter
804-
* (http://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#log) New 'log' configuration parameter
801+
* (https://jssip.net/documentation/0.4.x/api/session) Hold/Unhold implementation
802+
* (https://jssip.net/documentation/0.4.x/api/session) Mute/Unmute implementation
803+
* (https://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#instance_id) New 'instance_id' configuration parameter
804+
* (https://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#log) New 'log' configuration parameter
805805
* [(34b235c)](https://github.com/versatica/JsSIP/commit/34b235c) Fix #246. Increase the event emiter max listener number to 50
806806
* [(9a1ebdf)](https://github.com/versatica/JsSIP/commit/9a1ebdf) Late SDP implementation. Handle SDP-less incoming INVITEs
807807
* [(f0cc4c1)](https://github.com/versatica/JsSIP/commit/f0cc4c1) Fix #253. RTCSession: instead of "started" emit "accepted" when 2XX and "confirmed" when ACK

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><a href="http://jssip.net"><img src="http://jssip.net/images/jssip-banner-new.png"/></a></p>
1+
<p align="center"><a href="https://jssip.net"><img src="https://jssip.net/images/jssip-banner-new.png"/></a></p>
22

33
[![Build Status](https://api.travis-ci.com/versatica/JsSIP.png)](https://travis-ci.com/versatica/JsSIP)
44
[![Code Quality: Javascript](https://img.shields.io/lgtm/grade/javascript/g/versatica/JsSIP.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/versatica/JsSIP/context:javascript)
@@ -7,12 +7,12 @@
77
## Overview
88

99
* Runs in the browser and Node.js.
10-
* SIP over [WebSocket](http://jssip.net/documentation/misc/sip_websocket/) (use real SIP in your web apps)
11-
* Audio/video calls ([WebRTC](http://jssip.net/documentation/misc/webrtc)) and instant messaging
10+
* SIP over [WebSocket](https://jssip.net/documentation/misc/sip_websocket/) (use real SIP in your web apps)
11+
* Audio/video calls ([WebRTC](https://jssip.net/documentation/misc/webrtc)) and instant messaging
1212
* Lightweight!
1313
* Easy to use and powerful user API
14-
* Works with OverSIP, Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers ([more info](http://jssip.net/documentation/misc/interoperability))
15-
* Written by the authors of [RFC 7118 "The WebSocket Protocol as a Transport for SIP"](http://tools.ietf.org/html/rfc7118) and [OverSIP](http://oversip.net)
14+
* Works with OverSIP, Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers ([more info](https://jssip.net/documentation/misc/interoperability))
15+
* Written by the authors of [RFC 7118 "The WebSocket Protocol as a Transport for SIP"](https://tools.ietf.org/html/rfc7118) and [OverSIP](http://oversip.net)
1616

1717

1818
## NOTE
@@ -69,7 +69,7 @@ var options = {
6969
var session = ua.call('sip:[email protected]', options);
7070
```
7171

72-
Want to see more? Check the full documentation at http://jssip.net/documentation/.
72+
Want to see more? Check the full documentation at https://jssip.net/documentation/.
7373

7474

7575
## Online Demo
@@ -81,14 +81,13 @@ Check our **Tryit JsSIP** online demo:
8181

8282
## Website and Documentation
8383

84-
* [jssip.net](http://jssip.net/)
84+
* [jssip.net](https://jssip.net/)
8585

8686

8787
## Download
8888

8989
* As Node module: `$ npm install jssip`
90-
* As Bower module: `$ bower install jssip`
91-
* Manually: [jssip.net/download](http://jssip.net/download/)
90+
* Manually: [jssip.net/download](https://jssip.net/download/)
9291

9392

9493
## Authors
@@ -111,4 +110,4 @@ Check our **Tryit JsSIP** online demo:
111110

112111
## License
113112

114-
JsSIP is released under the [MIT license](http://jssip.net/license).
113+
JsSIP is released under the [MIT license](https://jssip.net/license).

bower.json

Lines changed: 0 additions & 32 deletions
This file was deleted.

dist/jssip.js

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* JsSIP v3.3.2
33
* the Javascript SIP library
44
* Copyright: 2012-2018 José Luis Millán <[email protected]> (https://github.com/jmillan)
5-
* Homepage: http://jssip.net
5+
* Homepage: https://jssip.net
66
* License: MIT
77
*/
88

@@ -354,7 +354,7 @@ module.exports = {
354354
SUBSCRIBE: 'SUBSCRIBE',
355355

356356
/* SIP Response Reasons
357-
* DOC: http://www.iana.org/assignments/sip-parameters
357+
* DOC: https://www.iana.org/assignments/sip-parameters
358358
* Copied from https://github.com/versatica/OverSIP/blob/master/lib/oversip/sip/constants.rb#L7
359359
*/
360360
REASON_PHRASE: {
@@ -19311,7 +19311,7 @@ function (_EventEmitter) {
1931119311
// Be ready for 200 with SDP after a 180/183 with SDP.
1931219312
// We created a SDP 'answer' for it, so check the current signaling state.
1931319313
if (_this22._connection.signalingState === 'stable') {
19314-
return _this22._connection.createOffer().then(function (offer) {
19314+
return _this22._connection.createOffer(_this22._rtcOfferConstraints).then(function (offer) {
1931519315
return _this22._connection.setLocalDescription(offer);
1931619316
}).catch(function (error) {
1931719317
_this22._acceptAndTerminate(response, 500, error.toString());
@@ -22212,7 +22212,7 @@ var debugerror = require('debug')('JsSIP:ERROR:Socket');
2221222212

2221322213
debugerror.log = console.warn.bind(console);
2221422214
/**
22215-
* Interface documentation: http://jssip.net/documentation/$last_version/api/socket/
22215+
* Interface documentation: https://jssip.net/documentation/$last_version/api/socket/
2221622216
*
2221722217
* interface Socket {
2221822218
* attribute String via_transport
@@ -24794,7 +24794,7 @@ var createRandomToken = exports.createRandomToken = function (size) {
2479424794

2479524795
exports.newTag = function () {
2479624796
return createRandomToken(10);
24797-
}; // http://stackoverflow.com/users/109538/broofa.
24797+
}; // https://stackoverflow.com/users/109538/broofa.
2479824798

2479924799

2480024800
exports.newUUID = function () {
@@ -24928,7 +24928,7 @@ exports.sipErrorCause = function (status_code) {
2492824928
return JsSIP_C.causes.SIP_FAILURE_CODE;
2492924929
};
2493024930
/**
24931-
* Generate a random Test-Net IP (http://tools.ietf.org/html/rfc5735)
24931+
* Generate a random Test-Net IP (https://tools.ietf.org/html/rfc5735)
2493224932
*/
2493324933

2493424934

@@ -24938,7 +24938,7 @@ exports.getRandomTestNetIP = function () {
2493824938
}
2493924939

2494024940
return "192.0.2.".concat(getOctet(1, 254));
24941-
}; // MD5 (Message-Digest Algorithm) http://www.webtoolkit.info.
24941+
}; // MD5 (Message-Digest Algorithm) https://www.webtoolkit.info.
2494224942

2494324943

2494424944
exports.calculateMD5 = function (string) {
@@ -27416,6 +27416,29 @@ var grammar = module.exports = {
2741627416
names: ['filterMode', 'netType', 'addressTypes', 'destAddress', 'srcList'],
2741727417
format: 'source-filter: %s %s %s %s %s'
2741827418
},
27419+
{ //a=bundle-only
27420+
name: 'bundleOnly',
27421+
reg: /^(bundle-only)/
27422+
},
27423+
{ //a=label:1
27424+
name: 'label',
27425+
reg: /^label:(.+)/,
27426+
format: 'label:%s'
27427+
},
27428+
{
27429+
// RFC version 26 for SCTP over DTLS
27430+
// https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-26#section-5
27431+
name:'sctpPort',
27432+
reg: /^sctp-port:(\d+)$/,
27433+
format: 'sctp-port:%s'
27434+
},
27435+
{
27436+
// RFC version 26 for SCTP over DTLS
27437+
// https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-26#section-6
27438+
name:'maxMessageSize',
27439+
reg: /^max-message-size:(\d+)$/,
27440+
format: 'max-message-size:%s'
27441+
},
2741927442
{ // any a= that we don't understand is kepts verbatim on media.invalid
2742027443
push: 'invalid',
2742127444
names: ['value']
@@ -27697,7 +27720,7 @@ module.exports={
2769727720
"title": "JsSIP",
2769827721
"description": "the Javascript SIP library",
2769927722
"version": "3.3.2",
27700-
"homepage": "http://jssip.net",
27723+
"homepage": "https://jssip.net",
2770127724
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
2770227725
"contributors": [
2770327726
"Iñaki Baz Castillo <[email protected]> (https://github.com/ibc)",

dist/jssip.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
SUBSCRIBE : 'SUBSCRIBE',
6666

6767
/* SIP Response Reasons
68-
* DOC: http://www.iana.org/assignments/sip-parameters
68+
* DOC: https://www.iana.org/assignments/sip-parameters
6969
* Copied from https://github.com/versatica/OverSIP/blob/master/lib/oversip/sip/constants.rb#L7
7070
*/
7171
REASON_PHRASE : {

lib/Socket.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const debugerror = require('debug')('JsSIP:ERROR:Socket');
55
debugerror.log = console.warn.bind(console);
66

77
/**
8-
* Interface documentation: http://jssip.net/documentation/$last_version/api/socket/
8+
* Interface documentation: https://jssip.net/documentation/$last_version/api/socket/
99
*
1010
* interface Socket {
1111
* attribute String via_transport

lib/Utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const createRandomToken = exports.createRandomToken = (size, base = 32) =>
6969

7070
exports.newTag = () => createRandomToken(10);
7171

72-
// http://stackoverflow.com/users/109538/broofa.
72+
// https://stackoverflow.com/users/109538/broofa.
7373
exports.newUUID = () =>
7474
{
7575
const UUID = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) =>
@@ -235,7 +235,7 @@ exports.sipErrorCause = (status_code) =>
235235
};
236236

237237
/**
238-
* Generate a random Test-Net IP (http://tools.ietf.org/html/rfc5735)
238+
* Generate a random Test-Net IP (https://tools.ietf.org/html/rfc5735)
239239
*/
240240
exports.getRandomTestNetIP = () =>
241241
{
@@ -247,7 +247,7 @@ exports.getRandomTestNetIP = () =>
247247
return `192.0.2.${getOctet(1, 254)}`;
248248
};
249249

250-
// MD5 (Message-Digest Algorithm) http://www.webtoolkit.info.
250+
// MD5 (Message-Digest Algorithm) https://www.webtoolkit.info.
251251
exports.calculateMD5 = (string) =>
252252
{
253253
function rotateLeft(lValue, iShiftBits)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "JsSIP",
44
"description": "the Javascript SIP library",
55
"version": "3.3.2",
6-
"homepage": "http://jssip.net",
6+
"homepage": "https://jssip.net",
77
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
88
"contributors": [
99
"Iñaki Baz Castillo <[email protected]> (https://github.com/ibc)",

0 commit comments

Comments
 (0)