-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
56 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
*/ | ||
|
||
|
@@ -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: { | ||
|
@@ -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()); | ||
|
@@ -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 | ||
|
@@ -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 () { | ||
|
@@ -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) | ||
*/ | ||
|
||
|
||
|
@@ -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) { | ||
|
@@ -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'] | ||
|
@@ -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)", | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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)", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|