Skip to content

Commit

Permalink
s/http/https/g
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Dec 22, 2018
1 parent ce16bf5 commit 61242db
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 66 deletions.
4 changes: 2 additions & 2 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## What you need to build JsSIP

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


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

### Git

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


## How to build JsSIP
Expand Down
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -792,16 +792,16 @@ Version 0.4.2 (released in 2014-10-24)
Version 0.4.1 (released in 2014-10-21)
--------------------------------------

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


Version 0.4.0 (released in 2014-10-21)
--------------------------------------

* (http://jssip.net/documentation/0.4.x/api/session) Hold/Unhold implementation
* (http://jssip.net/documentation/0.4.x/api/session) Mute/Unmute implementation
* (http://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#instance_id) New 'instance_id' configuration parameter
* (http://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#log) New 'log' configuration parameter
* (https://jssip.net/documentation/0.4.x/api/session) Hold/Unhold implementation
* (https://jssip.net/documentation/0.4.x/api/session) Mute/Unmute implementation
* (https://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#instance_id) New 'instance_id' configuration parameter
* (https://jssip.net/documentation/0.4.x/api/ua_configuration_parameters/#log) New 'log' configuration parameter
* [(34b235c)](https://github.com/versatica/JsSIP/commit/34b235c) Fix #246. Increase the event emiter max listener number to 50
* [(9a1ebdf)](https://github.com/versatica/JsSIP/commit/9a1ebdf) Late SDP implementation. Handle SDP-less incoming INVITEs
* [(f0cc4c1)](https://github.com/versatica/JsSIP/commit/f0cc4c1) Fix #253. RTCSession: instead of "started" emit "accepted" when 2XX and "confirmed" when ACK
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p align="center"><a href="http://jssip.net"><img src="http://jssip.net/images/jssip-banner-new.png"/></a></p>
<p align="center"><a href="https://jssip.net"><img src="https://jssip.net/images/jssip-banner-new.png"/></a></p>

[![Build Status](https://api.travis-ci.com/versatica/JsSIP.png)](https://travis-ci.com/versatica/JsSIP)
[![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)
Expand All @@ -7,12 +7,12 @@
## Overview

* Runs in the browser and Node.js.
* SIP over [WebSocket](http://jssip.net/documentation/misc/sip_websocket/) (use real SIP in your web apps)
* Audio/video calls ([WebRTC](http://jssip.net/documentation/misc/webrtc)) and instant messaging
* SIP over [WebSocket](https://jssip.net/documentation/misc/sip_websocket/) (use real SIP in your web apps)
* Audio/video calls ([WebRTC](https://jssip.net/documentation/misc/webrtc)) and instant messaging
* Lightweight!
* Easy to use and powerful user API
* Works with OverSIP, Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers ([more info](http://jssip.net/documentation/misc/interoperability))
* 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)
* Works with OverSIP, Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers ([more info](https://jssip.net/documentation/misc/interoperability))
* 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)


## NOTE
Expand Down Expand Up @@ -69,7 +69,7 @@ var options = {
var session = ua.call('sip:[email protected]', options);
```

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


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

## Website and Documentation

* [jssip.net](http://jssip.net/)
* [jssip.net](https://jssip.net/)


## Download

* As Node module: `$ npm install jssip`
* As Bower module: `$ bower install jssip`
* Manually: [jssip.net/download](http://jssip.net/download/)
* Manually: [jssip.net/download](https://jssip.net/download/)


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

## License

JsSIP is released under the [MIT license](http://jssip.net/license).
JsSIP is released under the [MIT license](https://jssip.net/license).
32 changes: 0 additions & 32 deletions bower.json

This file was deleted.

39 changes: 31 additions & 8 deletions dist/jssip.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* JsSIP v3.3.2
* the Javascript SIP library
* Copyright: 2012-2018 José Luis Millán <[email protected]> (https://github.com/jmillan)
* Homepage: http://jssip.net
* Homepage: https://jssip.net
* License: MIT
*/

Expand Down Expand Up @@ -354,7 +354,7 @@ module.exports = {
SUBSCRIBE: 'SUBSCRIBE',

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

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

exports.newTag = function () {
return createRandomToken(10);
}; // http://stackoverflow.com/users/109538/broofa.
}; // https://stackoverflow.com/users/109538/broofa.


exports.newUUID = function () {
Expand Down Expand Up @@ -24928,7 +24928,7 @@ exports.sipErrorCause = function (status_code) {
return JsSIP_C.causes.SIP_FAILURE_CODE;
};
/**
* Generate a random Test-Net IP (http://tools.ietf.org/html/rfc5735)
* Generate a random Test-Net IP (https://tools.ietf.org/html/rfc5735)
*/


Expand All @@ -24938,7 +24938,7 @@ exports.getRandomTestNetIP = function () {
}

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


exports.calculateMD5 = function (string) {
Expand Down Expand Up @@ -27416,6 +27416,29 @@ var grammar = module.exports = {
names: ['filterMode', 'netType', 'addressTypes', 'destAddress', 'srcList'],
format: 'source-filter: %s %s %s %s %s'
},
{ //a=bundle-only
name: 'bundleOnly',
reg: /^(bundle-only)/
},
{ //a=label:1
name: 'label',
reg: /^label:(.+)/,
format: 'label:%s'
},
{
// RFC version 26 for SCTP over DTLS
// https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-26#section-5
name:'sctpPort',
reg: /^sctp-port:(\d+)$/,
format: 'sctp-port:%s'
},
{
// RFC version 26 for SCTP over DTLS
// https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-26#section-6
name:'maxMessageSize',
reg: /^max-message-size:(\d+)$/,
format: 'max-message-size:%s'
},
{ // any a= that we don't understand is kepts verbatim on media.invalid
push: 'invalid',
names: ['value']
Expand Down Expand Up @@ -27697,7 +27720,7 @@ module.exports={
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.3.2",
"homepage": "http://jssip.net",
"homepage": "https://jssip.net",
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
"contributors": [
"Iñaki Baz Castillo <[email protected]> (https://github.com/ibc)",
Expand Down
4 changes: 2 additions & 2 deletions dist/jssip.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module.exports = {
SUBSCRIBE : 'SUBSCRIBE',

/* SIP Response Reasons
* DOC: http://www.iana.org/assignments/sip-parameters
* DOC: https://www.iana.org/assignments/sip-parameters
* Copied from https://github.com/versatica/OverSIP/blob/master/lib/oversip/sip/constants.rb#L7
*/
REASON_PHRASE : {
Expand Down
2 changes: 1 addition & 1 deletion lib/Socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const debugerror = require('debug')('JsSIP:ERROR:Socket');
debugerror.log = console.warn.bind(console);

/**
* Interface documentation: http://jssip.net/documentation/$last_version/api/socket/
* Interface documentation: https://jssip.net/documentation/$last_version/api/socket/
*
* interface Socket {
* attribute String via_transport
Expand Down
6 changes: 3 additions & 3 deletions lib/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const createRandomToken = exports.createRandomToken = (size, base = 32) =>

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

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

/**
* Generate a random Test-Net IP (http://tools.ietf.org/html/rfc5735)
* Generate a random Test-Net IP (https://tools.ietf.org/html/rfc5735)
*/
exports.getRandomTestNetIP = () =>
{
Expand All @@ -247,7 +247,7 @@ exports.getRandomTestNetIP = () =>
return `192.0.2.${getOctet(1, 254)}`;
};

// MD5 (Message-Digest Algorithm) http://www.webtoolkit.info.
// MD5 (Message-Digest Algorithm) https://www.webtoolkit.info.
exports.calculateMD5 = (string) =>
{
function rotateLeft(lValue, iShiftBits)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "JsSIP",
"description": "the Javascript SIP library",
"version": "3.3.2",
"homepage": "http://jssip.net",
"homepage": "https://jssip.net",
"author": "José Luis Millán <[email protected]> (https://github.com/jmillan)",
"contributors": [
"Iñaki Baz Castillo <[email protected]> (https://github.com/ibc)",
Expand Down
2 changes: 1 addition & 1 deletion test/test-digestAuthentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require('./include/common');
const DigestAuthentication = require('../lib/DigestAuthentication.js');

// Results of this tests originally obtained from RFC 2617 and:
// 'http://pernau.at/kd/sipdigest.php'
// 'https://pernau.at/kd/sipdigest.php'

module.exports = {
'parse no auth [email protected] -RFC 2617-' : function(test)
Expand Down

0 comments on commit 61242db

Please sign in to comment.