debian/0000775000000000000000000000000012323541167007174 5ustar debian/jscommunicator-web-phone.links0000664000000000000000000000126412274237222015157 0ustar /usr/share/javascript/jscommunicator/JSComm.js usr/share/jscommunicator-web-phone/JSComm.js /usr/share/jscommunicator/jscommunicator.inc usr/share/jscommunicator-web-phone/jscommunicator.inc /usr/share/jscommunicator/style.css usr/share/jscommunicator-web-phone/style.css /usr/share/jscommunicator/sounds usr/share/jscommunicator-web-phone/sounds /usr/share/javascript/jssip/JsSIP.min.js usr/share/jscommunicator-web-phone/JsSIP.js /usr/share/javascript/jquery/jquery.min.js usr/share/jscommunicator-web-phone/jquery.js /usr/share/javascript/arbiter/Arbiter.js usr/share/jscommunicator-web-phone/Arbiter.js /etc/jscommunicator-web-phone/config.js usr/share/jscommunicator-web-phone/config.js debian/libjs-jscommunicator.install0000664000000000000000000000032612266720540014723 0ustar JSComm.js /usr/share/javascript/jscommunicator jscommunicator.inc /usr/share/jscommunicator style.css /usr/share/jscommunicator sounds /usr/share/jscommunicator config-sample.js /usr/share/doc/libjs-jscommunicator debian/copyright0000664000000000000000000000273112266720540011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jscommunicator Source: http://jscommunicator.org Files: * Copyright: 2013, Daniel Pocock http://danielpocock.com License: GPL-2+ Files: parseuri.js Copyright: 2007, Steven Levithan License: MIT License: GPL-2 The full text of the GPL-2 license can be found in /usr/share/common-licenses/GPL-2 on your Debian GNU/Linux system License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/jscommunicator-web-phone.install0000664000000000000000000000061512274237272015511 0ustar phone.shtml usr/share/jscommunicator-web-phone init.js usr/share/jscommunicator-web-phone style-horizontal.css usr/share/jscommunicator-web-phone event-demo.js usr/share/jscommunicator-web-phone event-demo.shtml usr/share/jscommunicator-web-phone style-event-demo.css usr/share/jscommunicator-web-phone debian/conf/apache.conf /etc/jscommunicator-web-phone config.js /etc/jscommunicator-web-phone debian/source/0000775000000000000000000000000012266720540010474 5ustar debian/source/format0000664000000000000000000000001412266720540011702 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000000423512323541073011046 0ustar jscommunicator (1.1.1-1ubuntu1) trusty; urgency=medium * make-release: Call closure-compiler as a jar instead of a binary. -- Adam Conrad Wed, 16 Apr 2014 18:47:19 +0100 jscommunicator (1.1.1-1) unstable; urgency=low * New upstream release -- Daniel Pocock Wed, 12 Feb 2014 16:07:41 +0100 jscommunicator (1.1.0-1) unstable; urgency=high * New upstream release * Fixes local audio feedback issue for some users -- Daniel Pocock Tue, 04 Feb 2014 20:19:44 +0100 jscommunicator (1.0.11-1) unstable; urgency=low * New upstream release -- Daniel Pocock Mon, 27 Jan 2014 22:54:07 +0100 jscommunicator (1.0.10-1) unstable; urgency=low * New upstream release -- Daniel Pocock Fri, 24 Jan 2014 16:03:20 +0100 jscommunicator (1.0.9-1) unstable; urgency=low * New upstream release -- Daniel Pocock Thu, 23 Jan 2014 21:17:52 +0100 jscommunicator (1.0.8-1) unstable; urgency=low * New upstream release -- Daniel Pocock Wed, 22 Jan 2014 19:23:55 +0100 jscommunicator (1.0.7-1) unstable; urgency=low * New upstream release -- Daniel Pocock Mon, 20 Jan 2014 16:09:43 +0100 jscommunicator (1.0.6-1) unstable; urgency=low * New upstream release -- Daniel Pocock Sun, 19 Jan 2014 10:57:01 +0100 jscommunicator (1.0.5-1) unstable; urgency=low * New upstream release -- Daniel Pocock Sat, 18 Jan 2014 08:40:23 +0100 jscommunicator (1.0.4-1) unstable; urgency=low * New upstream release -- Daniel Pocock Fri, 17 Jan 2014 16:46:55 +0100 jscommunicator (1.0.3-1) unstable; urgency=low * New upstream release -- Daniel Pocock Tue, 14 Jan 2014 23:41:48 +0100 jscommunicator (1.0.2-1) unstable; urgency=low * New upstream release -- Daniel Pocock Tue, 14 Jan 2014 23:26:55 +0100 jscommunicator (1.0.1-1) unstable; urgency=low * Initial packaging (Closes: #734762) -- Daniel Pocock Thu, 09 Jan 2014 22:29:38 +0100 debian/compat0000664000000000000000000000000212266720540010372 0ustar 9 debian/rules0000775000000000000000000000036212266720540010255 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_configure: override_dh_auto_build: ./make-release cp config-sample.js config.js override_dh_auto_clean: -rm JSComm.js dh_clean override_dh_clean: -rm JSComm.js dh_clean .PHONY: build debian/jscommunicator-web-phone.README.Debian0000664000000000000000000000257712266720540016166 0ustar The package jscommunicator-web-phone provides a very basic demonstration of how to integrate the JavaScript from a HTML web site. This demonstrates how it could be integrated into a contact form on a web site or an intranet-based corporate phone book. It doesn't just work with any SIP server/proxy: it requires a SIP proxy that supports the SIP over WebSockets transport. This is currently under development in most leading SIP proxies. The latest version of the Debian packages "repro" and "kamailio" provide WebSocket support. Furthermore, users accessing the site require a WebRTC capable browser: Firefox nightly build http://nightly.mozilla.org/ Chrome 25 or later https://www.google.com/intl/en/chrome/browser/beta.html WebRTC requires a TURN server. There are three TURN servers available in Debian: reTurn from reSIProcate: http://packages.debian.org/resiprocate-turn-server Open TurnServer.org: http://packages.debian.org/turnserver rfc5766 TURN server project: http://packages.debian.org/rfc5766-turn-server Finally, the WebRTC browser/phone may insist on some of the following: SRTP: any device you call must also support SRTP AVPF (SAVPF): many standard SIP devices just support regular AVP. Codecs: Opus and G.711 are the core codecs for WebRTC. Your browser may support others. Most deskphones support G.711, but not Opus. debian/control0000664000000000000000000000327612323541077010607 0ustar Source: jscommunicator Section: web Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Javascript Maintainers Uploaders: Daniel Pocock Build-Depends: debhelper (>= 9), closure-compiler Standards-Version: 3.9.5 Homepage: http://jscommunicator.org Vcs-Browser: http://git.debian.org/?p=pkg-javascript/jscommunicator.git Vcs-Git: git://git.debian.org/git/pkg-javascript/jscommunicator.git Package: libjs-jscommunicator Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, libjs-jquery, libjs-jssip, libjs-arbiter Recommends: javascript-common Description: Browser-based messaging, phone and video chat application HTML5 SIP client entirely written in JavaScript for integration in any web site, incude a blog, CMS or web application. Requires a modern WebRTC capable web browser and a SIP server/proxy supporting the SIP over WebSockets transport. . This package provides the JavaScript library for use in web sites or for other packages that require it. Package: jscommunicator-web-phone Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, libjs-jscommunicator, apache2 | lighttpd | httpd Recommends: repro, resiprocate-turn-server Description: Basic SIP video-phone web page using WebRTC HTML5 SIP client entirely written in JavaScript for integration in any web site, incude a blog, CMS or web application. Requires a modern WebRTC capable web browser and a SIP server/proxy supporting the SIP over WebSockets transport. . This package provides a basic HTML implementation of a phone that can be published through a web server such as Apache. debian/libjs-jscommunicator.README.Debian0000664000000000000000000000100612266720540015367 0ustar To use this library in your own application, simply take the HTML fragments and CSS content from /usr/share/jscommunicator and use them as they are or with your own enhancements. You need to make sure the sounds from /usr/share/jscommunicator/sounds are accessible through the web server. JSCommunicator expects to find all settings in an object called JSCommSettings, an example is given in /usr/share/doc/libjs-jscommunicator/config.js The package jscommunicator-web-phone provides a simple deployment example. debian/conf/0000775000000000000000000000000012276707152010126 5ustar debian/conf/apache.conf0000664000000000000000000000030012266720540012202 0ustar Alias /jscommunicator-web-phone /usr/share/jscommunicator-web-phone Options -Indexes +Includes DirectoryIndex phone.shtml debian/patches/0000775000000000000000000000000012323541212010612 5ustar debian/patches/closure-compiler.patch0000664000000000000000000000167112323541212015124 0ustar Description: Call closure-compiler as a jar instead of a binary. Author: Adam Conrad --- jscommunicator-1.1.1.orig/make-release +++ jscommunicator-1.1.1/make-release @@ -5,10 +5,10 @@ set -e RELEASE_FILES="JSCommManager.js JSCommUI.js jssip-helper.js parseuri.js webrtc-check.js" RELEASE_JS="JSComm.js" -MINIFY_GCC=closure-compiler +#MINIFY_GCC=closure-compiler # using a manually constructed JVM command line for # closure-compiler due to Debian bug 705565: -#MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" +MINIFY_GCC="java -classpath /usr/share/java/closure-compiler.jar:/usr/share/java/args4j.jar:/usr/share/java/guava.jar:/usr/share/java/json.jar com.google.javascript.jscomp.CommandLineRunner" TMP_FILE=`mktemp --suffix=.js JSCommXXX` cat ${RELEASE_FILES} > ${TMP_FILE} debian/patches/series0000664000000000000000000000002712323541167012037 0ustar closure-compiler.patch