This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
fspanel.html
171 lines (156 loc) · 8.14 KB
/
fspanel.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FreeSWITCH panel</title>
<link type="text/css" href="css/cupertino/jquery-ui-1.8.14.custom.css" rel="stylesheet" />
<link type="text/css" href="css/fspanel.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.14.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.json-2.2.min.js"></script>
<script type="text/javascript" src="js/jquery.tinysort.js"></script>
<script type="text/javascript" src="js/fspanel.js"></script>
</head>
<body>
<div id="main_header">
<div id="logo">FreeSWITCH panel</div>
<div class="top_item" id="top_about">©</div>
<div class="top_item" id="top_commands">commands</div>
<div class="top_item" id="top_settings">settings</div>
</div>
<div id="settings" class="block_green">
<h3>Settings</h3>
<form>
<input type="checkbox" id="opt_ext" name="opt_ext" value="opt_ext"> Extensions (SIP Sofia)<br />
<input type="checkbox" id="opt_ss" name="opt_ss" value="opt_ss"> SIP Sofia status<br />
<input type="checkbox" id="opt_call" name="opt_call" value="opt_call"> <select id="opt_call_func" name="opt_call_func" value="opt_call_func">
<option value="channels">Channels</option>
<option value="calls">Calls</option>
<option value="detailed_calls">Detailed calls</option>
</select><br />
<input type="checkbox" id="opt_conf" name="opt_conf" value="opt_conf"> Conferences<br />
<input type="checkbox" id="opt_ftdm" name="opt_ftdm" value="opt_ftdm"> FreeTDM channels<br />
<br />
<input type="button" value="Save" id="set_save"> <input type="button" value="Cancel" id="set_cancel">
</form>
</div>
<div id="about" class="block_red">
<h3>About</h3>
<br />
FreeSWITCH panel<br /><br />
© Valery Kalinin<br />
version 0.99<br />
<a href="https://sites.google.com/site/freeswitched/?from=panel_0_99">Download, info, etc.</a>
</div>
<div id="cmd_conf_member" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">conference member: <span id="conf_member_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('conf_member', 'conf');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_conf_deaf">deaf</td></tr>
<tr><td class="cmd_item" id="cmd_conf_undeaf">undeaf</td></tr>
<tr><td class="cmd_item" id="cmd_conf_mute">mute</td></tr>
<tr><td class="cmd_item" id="cmd_conf_unmute">unmute</td></tr>
<tr><td class="cmd_item" id="cmd_conf_hup">hup</td></tr>
<tr><td class="cmd_item" id="cmd_conf_kick">kick</td></tr>
<tr><td class="cmd_item" id="cmd_conf_transfer">transfer to <input type="text" size="5" id="value_conf_transfer" name="value_conf_transfer"></td></tr>
<tr><td class="cmd_item" id="cmd_conf_vol_in">volume in <span id="value_conf_vol_in">0</span><div class="sliders" id="slider_conf_vol_in"></div></td></tr>
<tr><td class="cmd_item" id="cmd_conf_vol_out">volume out <span id="value_conf_vol_out">0</span><div class="sliders" id="slider_conf_vol_out"></div></td></tr>
<tr><td class="cmd_item" id="cmd_conf_energy">energy <span id="value_conf_energy">0</span><div class="sliders" id="slider_conf_energy"></div></td></tr>
</table>
</div>
<div id="cmd_conf_conf" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">conference: <span id="conf_conf_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('conf_conf', 'conf');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_conf_lock">lock</td></tr>
<tr><td class="cmd_item" id="cmd_conf_unlock">unlock</td></tr>
<tr><td class="cmd_item" id="cmd_conf_pin">pin <input type="text" size="5" id="value_conf_pin" name="value_conf_pin"></td></tr>
<tr><td class="cmd_item" id="cmd_conf_nopin">nopin</td></tr>
<tr><td class="cmd_item" id="cmd_conf_dial">dial <input type="text" size="12" id="value_conf_dial" name="value_conf_dial"></td></tr>
<tr><td class="cmd_item" id="cmd_conf_dtmf">dtmf</td></tr>
</table>
</div>
<div id="cmd_call" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">call: <span id="call_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('call', 'call');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_uuid_kill">hangup</td></tr>
</table>
</div>
<div id="cmd_ftdm" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">span: <span id="span_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('ftdm', 'ftdm');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_ftdm_start_span">start span</td></tr>
<tr><td class="cmd_item" id="cmd_ftdm_stop_span">stop span</td></tr>
<tr><td><div class="context_menu_hdr_left">chan: <span id="chan_id"></span></div></td></tr>
<tr><td class="cmd_item" id="cmd_ftdm_dump">info</td></tr>
<tr><td class="cmd_item" id="cmd_ftdm_kill">session kill</td></tr>
</table>
</div>
<div id="cmd_profile" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">profile: <span id="profile_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('profile', 'ss');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_profile_rescan">rescan</td></tr>
<tr><td class="cmd_item" id="cmd_profile_restart">restart</td></tr>
<tr><td class="cmd_item" id="cmd_profile_flush_ir">flush registered endpoints</td></tr>
<tr><td class="cmd_item" id="cmd_profile_flush_irr">flush and reboot registered endpoints</td></tr>
</table>
</div>
<div id="cmd_gateway" class="block_red cmd_div">
<table class="context_menu">
<tr><td><div class="context_menu_hdr_left">gateway: <span id="gateway_id"></span></div><div class="context_menu_hdr_right"><img src="images/close_button.png" width="16" height="16" title="Close this menu" alt="*" onClick="cmdClose('gateway', 'ss');"></div></td></tr>
<tr><td class="cmd_item" id="cmd_gateway_kill">kill</td></tr>
</table>
</div>
<div id="commands" class="block_red">
<h3>Commands</h3>
<table>
<tr><td class="cmd_item" id="cmd_sofia_status">sofia status</td></tr>
<tr><td class="cmd_item" id="cmd_reloadxml">reloadxml</td></tr>
<tr><td class="cmd_item" id="cmd_reloadacl">reloadacl</td></tr>
<tr><td class="cmd_item" id="cmd_status">status</td></tr>
<tr><td class="cmd_item" id="cmd_version">version</td></tr>
</table>
</div>
<div id="cmdresult" class="block_red">
<h3>Command result</h3>
<div id="cmd_result"></div>
</div>
<div id="extensions" class="block_green">
<h3>SIP registrations</h3>
<table class="datatable" id="table_ext"></table>
</div>
<div id="sofiastatuses" class="block_green">
<h3>Sofia status</h3>
<table class="datatable" id="table_ss"></table>
</div>
<div id="calls" class="block_blue">
<h3>Calls</h3>
<table class="datatable" id="table_call">
</table>
</div>
<div id="conferences" class="block_yellow">
<h3>Conferences</h3>
<table class="datatable" id="table_conf">
<thead></thead>
</table>
</div>
<div id="freetdms" class="block_yellow">
<h3>FreeTDM</h3>
<table class="datatable" id="table_ftdm">
</table>
</div>
<div class="block_red settings_div" id="exts_settings">
<h3>Extensions columns</h3>
<form id="exts_form_set"></form>
</div>
<div class="block_red settings_div" id="ftdm_settings">
<h3>FreeTDM columns</h3>
<form id="ftdm_form_set"></form>
</div>
<div class="block_red settings_div" id="call_settings">
<h3>Calls columns</h3>
<form id="call_form_set"></form>
</div>
<div class="block_red settings_div" id="ss_settings">
<h3>Sofia status columns</h3>
<form id="ss_form_set"></form>
</div>
</body>
</html>