• Stars
    star
    2,384
  • Rank 19,287 (Top 0.4 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 12 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

JsSIP, the JavaScript SIP library

Build Status Code Quality: Javascript Total Alerts

Overview

NOTE

Starting from 3.0.0, JsSIP no longer includes the rtcninja module. However, the jssip-rtcninja package is based on the 2.0.x branch, which does include rtcninja.

Support

Getting Started

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

// Create our JsSIP instance and run it:

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'    : 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

Check our Tryit JsSIP online demo:

Website and Documentation

Download

Authors

José Luis Millán

Iñaki Baz Castillo

Saúl Ibarra Corretgé

License

JsSIP is released under the MIT license.

More Repositories

1

mediasoup

Cutting Edge WebRTC Video Conferencing
C++
6,232
star
2

mediasoup-demo

mediasoup official demo application
JavaScript
1,047
star
3

mediasoup-client

mediasoup client side JavaScript library
TypeScript
574
star
4

OverSIP

OverSIP: the SIP framework you dreamed about
C
342
star
5

libmediasoupclient

mediasoup client side C++ library
C++
286
star
6

protoo

Minimalist and extensible Node.js signaling framework for multi-party Real-Time applications
JavaScript
168
star
7

mediasoup-broadcaster-demo

mediasoup broadcaster demo (libmediasoupclient)
C++
104
star
8

tryit-jssip

New tryit-jssip application
JavaScript
88
star
9

mediasoup-client-aiortc

mediasoup-client handler for aiortc Python library
TypeScript
53
star
10

h264-profile-level-id

Utility to process H264 profile-level-id values
TypeScript
50
star
11

mediasoup-sdp-bridge

Node.js library to allow integration of SDP based clients with mediasoup
JavaScript
41
star
12

rtp.js

RTP stack for Node and browser written in TypeScript
TypeScript
39
star
13

awaitqueue

JavaScript utility to enqueue async tasks for Node.js and the browser
TypeScript
32
star
14

RetroRTC

WebRTC made retro.
JavaScript
22
star
15

jssip-node-websocket

JsSIP.Socket interface for the Node.js based on the websocket module
JavaScript
18
star
16

pick-port

Get a free TCP or UDP port for the given IP address
TypeScript
14
star
17

mediasoup-website

Website of mediasoup
SCSS
14
star
18

jssip.net

JsSIP website
JavaScript
9
star
19

oversip-mod-mysql

A MySQL connector module for OverSIP
Ruby
6
star
20

oversip-mod-postgresql

A PostgreSQL connector module for OverSIP
Ruby
5
star
21

TrendCalculator

An algorithm to ease off decreasing values based on a constant factor, an elapsed time and (probably) also on currently highest value seen
C++
1
star