GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - versatica/JsSIP: JsSIP, the JavaScript SIP library

BranchesTags
Open more actions menu

Latest commit

 

History

1,205 Commits
1,205 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs-assets
docs-assets
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
.npmrc
.npmrc
 
 
.prettierrc
.prettierrc
 
 
AUTHORS.md
AUTHORS.md
 
 
BUILDING.md
BUILDING.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
THANKS.md
THANKS.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
jest.config.mjs
jest.config.mjs
 
 
npm-scripts.mjs
npm-scripts.mjs
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.eslint.json
tsconfig.eslint.json
 
 
tsconfig.json
tsconfig.json
 
 
typedoc.config.mjs
typedoc.config.mjs
 
 

Repository files navigation

Overview

  • Runs in the browser and Node.js
  • SIP over WebSocket (use real SIP in your web apps)
  • Audio/video calls (WebRTC) and instant messaging
  • Lightweight!
  • Easy to use and powerful user API
  • Works with Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers (more info)
  • Written by the authors of RFC 7118 "The WebSocket Protocol as a Transport for SIP" and mediasoup

Website and Documentation

jssip.net

Install

$ npm install jssip

Getting Started

The following simple JavaScript code creates a JsSIP User Agent instance and makes a SIP call:

var socket = new JsSIP.WebSocketInterface('wss://sip.myhost.com');
var configuration = {
  sockets  : [ socket ],
  uri      : 'sip:[email protected]',
  password : 'superpassword'
};

var ua = new JsSIP.UA(configuration);

ua.start();

// Register callbacks to desired call events
var eventHandlers = {
  'progress': function(e) {
    console.log('call is in progress');
  },
  'failed': function(e) {
    console.log('call failed with cause: '+ e.data.cause);
  },
  'ended': function(e) {
    console.log('call ended with cause: '+ e.data.cause);
  },
  'confirmed': function(e) {
    console.log('call confirmed');
  }
};

var options = {
  eventHandlers,
  mediaConstraints: { 'audio': true, 'video': true }
};

var session = ua.call('sip:[email protected]', options);

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

Online Demo

tryit.jssip.net

Support

  • For questions or usage problems please use Github discussions.

  • For bug reports or feature requests open an Github issue.

Authors

José Luis Millán

  • Main author. Core Designer and Developer.
  • [email protected] (Github @jmillan)

Iñaki Baz Castillo

  • Core Designer and Developer.
  • [email protected] (Github @ibc)

Saúl Ibarra Corretgé

  • Core Designer.
  • [email protected] (Github @saghul)

License

JsSIP is released under the MIT license.

About

JsSIP, the JavaScript SIP library

jssip.net

Resources

Readme
License
Activity
Custom properties

Stars

2.6k stars

Watchers

149 watching

Forks

790 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.