Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/bower_components
10 changes: 6 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ Only recent versions of the SIP proxies support WebSockets.
Kamailio
http://www.kamailio.org

You need to have the following JavaScript libraries available in your
web server or CMS:

jQuery (v1.4 or greater has been tested)
Install
-------

Use http://bower.io/ to install dependencies

ArbiterJS (v1.0 has been tested)
Do `bower install`


Use cases
---------
Expand Down
22 changes: 22 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "jscommunicator",
"version": "0.1.0",
"homepage": "http://jscommunicator.org",
"authors": [
"Yehuda Korotkin <[email protected]>"
],
"description": "http://jscommunicator.org",
"license": "GPL2",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"jquery": "~2.1.1",
"arbiterjs": "https://github.com/yedako/arbiterjs.git",
"JsSIP": "https://github.com/versatica/JsSIP.git#~0.3.0"
}
}
16 changes: 13 additions & 3 deletions phone-dev.shtml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@
<title>Testing</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="style-horizontal.css" type="text/css"/>
<script src="jquery.js" type="text/javascript"></script>
<script src="Arbiter.js" type="text/javascript"></script>

<!--<script src="http://jssip.net/download/jssip-devel.js"></script>-->
<script src="JsSIP.js" type="text/javascript"></script>
<!--
Use bower for package manager of js
http://bower.io/

Run command: bower install

By: Yehuda Korotkin
-->
<script src="bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
<script src="bower_components/arbiterjs/Arbiter.js" type="text/javascript"></script>
<script src="bower_components/JsSIP/src/JsSIP.js" type="text/javascript"></script>

<script src="init.js" type="text/javascript"></script>
<script src="config.js" type="text/javascript"></script>

Expand Down
18 changes: 14 additions & 4 deletions phone.shtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@
<head>
<title>Testing</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="style-horizontal.css" type="text/css"/>
<script src="jquery.js" type="text/javascript"></script>
<script src="Arbiter.js" type="text/javascript"></script>
<link rel="stylesheet" href="style-horizontal.css" type="text/css"/>s
<!--<script src="http://jssip.net/download/jssip-devel.js"></script>-->
<script src="JsSIP.js" type="text/javascript"></script>
<!--
Use bower for package manager of js
http://bower.io/

Run command: bower install

By: Yehuda Korotkin
-->
<script src="bower_components/jquery/dist/jquery.min.js" type="text/javascript"></script>
<script src="bower_components/arbiterjs/Arbiter.js" type="text/javascript"></script>
<script src="bower_components/JsSIP/src/JsSIP.js" type="text/javascript"></script>


<script src="init.js" type="text/javascript"></script>
<script src="config.js" type="text/javascript"></script>

Expand Down