{"id":36211824,"url":"https://github.com/saghul/jssip","last_synced_at":"2026-01-11T04:01:42.977Z","repository":{"id":6835063,"uuid":"8083459","full_name":"saghul/JsSIP","owner":"saghul","description":"JsSIP, the JavaScript SIP library","archived":false,"fork":true,"pushed_at":"2015-01-24T17:01:54.000Z","size":7224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-16T06:52:05.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jssip.net","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"versatica/JsSIP","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saghul.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-07T22:52:22.000Z","updated_at":"2020-03-23T23:23:54.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/saghul/JsSIP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saghul/JsSIP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FJsSIP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FJsSIP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FJsSIP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FJsSIP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saghul","download_url":"https://codeload.github.com/saghul/JsSIP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saghul%2FJsSIP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28280302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T03:48:11.750Z","status":"ssl_error","status_checked_at":"2026-01-11T03:48:02.765Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T04:01:41.687Z","updated_at":"2026-01-11T04:01:42.971Z","avatar_url":"https://github.com/saghul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"http://jssip.net\"\u003e\u003cimg src=\"http://jssip.net/images/jssip-banner-new.png\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/versatica/JsSIP.png?branch=new-design)](https://travis-ci.org/versatica/JsSIP)\n\n## Overview\n\n* Runs in the browser and Node.js.\n* SIP over [WebSocket](http://jssip.net/documentation/misc/sip_websocket/) (use real SIP in your web apps)\n* Audio/video calls ([WebRTC](http://jssip.net/documentation/misc/webrtc)) and instant messaging\n* Lightweight!\n* Easy to use and powerful user API\n* Works with OverSIP, Kamailio, Asterisk. Mobicents and repro (reSIProcate) servers ([more info](http://jssip.net/documentation/misc/interoperability))\n* 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)\n\n\n## Getting Started\n\nThe following simple JavaScript code creates a JsSIP User Agent instance and makes a SIP call:\n\n```javascript\n// Create our JsSIP instance and run it:\n\nvar configuration = {\n  'ws_servers': 'ws://sip-ws.example.com',\n  'uri': 'sip:alice@example.com',\n  'password': 'superpassword'\n};\n\nvar ua = new JsSIP.UA(configuration);\n\nua.start();\n\n\n// Make an audio/video call:\n\n// HTML5 \u003cvideo\u003e elements in which local and remote video will be shown\nvar selfView =   document.getElementById('my-video');\nvar remoteView =  document.getElementById('peer-video');\n\n// Register callbacks to desired call events\nvar eventHandlers = {\n  'progress': function(e){\n    console.log('call is in progress');\n  },\n  'failed': function(e){\n    console.log('call failed with cause: '+ e.data.cause);\n  },\n  'ended': function(e){\n    console.log('call ended with cause: '+ e.data.cause);\n  },\n  'confirmed': function(e){\n    var session = e.sender;\n    var local_stream = session.getLocalStreams()[0];\n\n    console.log('call confirmed');\n\n    // Attach local stream to selfView\n    selfView = JsSIP.rtcninja.attachMediaStream(selfView, local_stream);\n  },\n  'addstream': function(e){\n    var stream = e.stream;\n\n    console.log('remote stream added');\n\n    // Attach remote stream to remoteView\n    remoteView = JsSIP.rtcninja.attachMediaStream(remoteView, stream);\n  }\n};\n\nvar options = {\n  'eventHandlers': eventHandlers,\n  'mediaConstraints': {'audio': true, 'video': true}\n};\n\n\nua.call('sip:bob@example.com', options);\n```\n\nWant to see more? Check the full documentation at http://jssip.net/documentation/.\n\n\n## Online Demo\n\nCheck our **Tryit JsSIP** online demo:\n\n* [tryit.jssip.net](http://tryit.jssip.net)\n\n\n## Website and Documentation\n\n* [jssip.net](http://jssip.net/)\n\n\n## Download\n\n* As Node module: `$ npm install jssip`\n* As Bower module: `$ bower install jssip`\n* Manually: [jssip.net/download](http://jssip.net/download/)\n\n\n## Authors\n\n#### José Luis Millán\n\n* Main author. Core Designer and Developer.\n* \u003cjmillan@aliax.net\u003e (Github [@jmillan](https://github.com/jmillan))\n\n#### Iñaki Baz Castillo\n\n* Core Designer and Developer.\n* \u003cibc@aliax.net\u003e (Github [@ibc](https://github.com/ibc))\n\n#### Saúl Ibarra Corretgé\n\n* Core Designer.\n* \u003csaghul@gmail.com\u003e (Github [@saghul](https://github.com/saghul))\n\n\n## License\n\nJsSIP is released under the [MIT license](http://jssip.net/license).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2Fjssip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaghul%2Fjssip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaghul%2Fjssip/lists"}