HOME

TheInfoList



OR:

JsSIP is a library for the programming language
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
. It takes advantage of SIP and
WebRTC WebRTC (Web Real-Time Communication) is a free and open-source project providing web browsers and mobile applications with real-time communication (RTC) via application programming interfaces (APIs). It allows audio and video communication to ...
to provide a fully featured SIP endpoint in any website. JsSIP allows any website to get real-time communication features using audio and video. It makes it possible to build SIP user agents that send and receive audio and video calls as well as and text messages.


General features

* SIP over
WebSocket WebSocket is a computer communications protocol, providing full-duplex communication channels over a single Transmission Control Protocol, TCP connection. The WebSocket protocol was standardized by the Internet Engineering Task Force, IETF as in ...
transport * Audio-video calls, instant messaging and presence * Pure JavaScript built from the ground up * Easy to use and powerful user API * Works with OverSIP, Kamailio, and Asterisk servers * SIP standards


Standards

JsSIP implements the following SIP specifications: * — SIP: Session Initiation Protocol * — SIP Update Method * — The Reason Header Field for SIP * — SIP Extension Header Field for Registering Non-Adjacent Contacts (Path header) * — SIP Extension for Instant Messaging (MESSAGE method) * — Session Timers in SIP * — Managing Client-Initiated Connections in SIP (Outbound mechanism) * — Essential Correction for IPv6 ABNF and URI Comparison in RFC 3261 * — Correct Transaction Handling for 2xx Responses to SIP INVITE Requests * — The WebSocket Protocol as a Transport for SIP


Interoperability


SIP proxies, servers

JsSIP uses the SIP over
WebSocket WebSocket is a computer communications protocol, providing full-duplex communication channels over a single Transmission Control Protocol, TCP connection. The WebSocket protocol was standardized by the Internet Engineering Task Force, IETF as in ...
transport for sending and receiving SIP requests and responses, and thus, it requires a SIP proxy/server with WebSocket support. Currently the following SIP servers have been tested and are using JsSIP as the basis for their
WebRTC Gateway WebRTC Gateway connects between WebRTC and an established VoIP technology such as SIP. WebRTC (Web Real-Time Communication) is an API definition drafted by the World Wide Web Consortium (W3C) that supports browser-to-browser applications for voice ...
functionality:
FreeSWITCH

FRAFOS ABC WebRTC Gateway

OverSIP

Kamailio

Asterisk

reSIProcate and repro


WebRTC web browsers

At the
media plane Media may refer to: Communication * Media (communication), tools used to deliver information or data ** Advertising media, various media, content, buying and placement for advertising ** Broadcast media, communications delivered over mass e ...
(audio calls), JsSIP version 0.2.0 works with Chrome browser from version 24. At the
signaling plane In signal processing, a signal is a function that conveys information about a phenomenon. Any quantity that can vary over space or time can be used as a signal to share messages between observers. The ''IEEE Transactions on Signal Processing'' ...
(SIP protocol), JsSIP runs in an
WebSocket capable browser


License

JsSIP is provided as
open-source Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
software under the
MIT license The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts only very limited restriction on reuse and has, therefore, high license co ...
.


References


External links

{{JavaScript JavaScript libraries