项目
在 GitHub 查看

collecttix/ctxSip
关于
ctxSip 是一款基于 JavaScript 的 SIP 客户端,使用 WebRTC 和 WebSockets 连接到 SIP 服务器。其界面设计为可从应用程序中以弹出窗口的形式启动,并且与 2600hz 的 Kazoo 配合良好。
其他项目可以做什么
- Audio only, Hold / Resume, Mute, multiple call support.
- No plugins required, Works with WebSocket / WebRTC enabled browsers. (Firefox & Chrome.)
- Call log is saved to localStorage.
- Intuitive interface makes it easy for users.
实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文ctxSip
A Javascript SIP client based on SIP.js.
ctxSip is a Javascript based SIP client that uses WebRTC and WebSockets to connect to your SIP server. The UI is designed to be launched as a popup from within your application. Works well with Kazoo from 2600hz
Features
- Audio only, Hold / Resume, Mute, multiple call support.
- No plugins required, Works with WebSocket / WebRTC enabled browsers. (Firefox & Chrome.)
- Call log is saved to localStorage.
- Intuitive interface makes it easy for users.
- Easy to configure and integrate into your project.
- MIT licensed.
Screenshots

Getting Started
You will need a sip account on a server that supports SIP over websockets. This has been tested with Kamailio in front of Freeswitch.
- Clone this project.
- Copy
phone/scripts/config-sample.jstophone/scripts/config.js - Edit
phone/scripts/config.jsto reflect your sip account. - In your application HMTL, create a document and add the following code:
<a href="phone" id="launchPhone">Launch</a>
<script>
var url = '/phone',
features = 'menubar=no,location=no,resizable=no,scrollbars=no,status=no,addressbar=no,width=320,height=480';
$('#launchPhone').on('click', function(event) {
event.preventDefault();
// This is set when the phone is open and removed on close
if (!localStorage.getItem('ctxPhone')) {
window.open(url, 'ctxPhone', features);
return false;
} else {
window.alert('Phone already open.');
}
});
</script>
SSL connections for are required for this to work!
Dependencies
ctxSip uses:
Tested on:
探索相关项目
加载中…