forked from jlouback/jscommunicator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event-demo.shtml
56 lines (46 loc) · 1.84 KB
/
event-demo.shtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<head>
<title>Testing</title>
<link rel="stylesheet" href="style.css" type="text/css"/>
<link rel="stylesheet" href="style-horizontal.css" type="text/css"/>
<link rel="stylesheet" href="style-event-demo.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>
<script src="init.js" type="text/javascript"></script>
<script src="config.js" type="text/javascript"></script>
<!-- compressed JavaScript source built by make-release script -->
<script src="JSComm.js" type="text/javascript"></script>
<!-- The event demo logic -->
<script src="event-demo.js" type="text/javascript"></script>
</head>
<body>
<h1>JSCommunicator</h1>
<!-- To make this work, you must
a) have mod_include enabled in Apache (on Debian: a2enmod include)
b) have a Directory element in your server configuration
enabling the Includes option, here is an example:
<Directory /var/www/jquery/>
Options +Includes
</Directory>
If you can't enable SSI for some reason, you can work around this by
simply cutting and pasting the contents of jscommunicator.inc into
this HTML file.
If you just see the reference to include jscommunicator.inc below
when viewing the page source in a browser, your SSI configuration
is not working:
-->
<!--#include file="jscommunicator.inc"-->
<select id="contact-directory">
<option value="[email protected]">Operator</option>
<option value="[email protected]">Helpdesk</option>
<option value="[email protected]">Sales</option>
</select>
<div>
<table id="event-demo-log">
<tr><th>Time</th><th>Event</th><th>Data</th></tr>
</table>
</div>
</body>
</html>