| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,167 +0,0 @@ |
| 1 |
-<!-- |
|
| 2 |
- @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
- |
|
| 4 |
- @author Double Bastion LLC |
|
| 5 |
- |
|
| 6 |
- @license GNU AGPL version 3 or any later version |
|
| 7 |
- |
|
| 8 |
- This program is free software; you can redistribute it and/or |
|
| 9 |
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
- License as published by the Free Software Foundation; either |
|
| 11 |
- version 3 of the License, or any later version. |
|
| 12 |
- |
|
| 13 |
- This program is distributed in the hope that it will be useful, |
|
| 14 |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
- GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
- |
|
| 18 |
- You should have received a copy of the GNU Affero General Public |
|
| 19 |
- License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 |
- This is a modified version of the original file "index.html". |
|
| 24 |
- |
|
| 25 |
- Below is the copyright notice of ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
- which also applies to the original "index.html" file, which was part of ctxSip phone: |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
- The MIT License (MIT) |
|
| 30 |
- |
|
| 31 |
- Copyright (c) 2014 Collecttix |
|
| 32 |
- |
|
| 33 |
- Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
- of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
- in the Software without restriction, including without limitation the rights |
|
| 36 |
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
- copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
- furnished to do so, subject to the following conditions: |
|
| 39 |
- |
|
| 40 |
- The above copyright notice and this permission notice shall be included in |
|
| 41 |
- all copies or substantial portions of the Software. |
|
| 42 |
- |
|
| 43 |
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
- THE SOFTWARE. |
|
| 50 |
- |
|
| 51 |
-<!DOCTYPE html> |
|
| 52 |
-<html lang="en"> |
|
| 53 |
- |
|
| 54 |
-<head> |
|
| 55 |
- <meta charset="utf-8" /> |
|
| 56 |
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 57 |
- <title>SIP Trip Phone</title> |
|
| 58 |
- <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 59 |
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 60 |
- <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 61 |
- <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 62 |
- |
|
| 63 |
- <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 64 |
- <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 65 |
- <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 66 |
- <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 67 |
- <script type="text/javascript" src="scripts/app.js"></script> |
|
| 68 |
- |
|
| 69 |
-</head> |
|
| 70 |
-<body id="sipClient"> |
|
| 71 |
-<div class="container-fluid"> |
|
| 72 |
- |
|
| 73 |
- <div class="clearfix sipStatus"> |
|
| 74 |
- <div id="txtCallStatus" class="pull-right"> </div> |
|
| 75 |
- <div id="txtRegStatus"></div> |
|
| 76 |
- </div> |
|
| 77 |
- |
|
| 78 |
- <div class="form-group" id="phoneUI"> |
|
| 79 |
- <div class="input-group"> |
|
| 80 |
- <div class="input-group-btn"> |
|
| 81 |
- <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show keypad"> |
|
| 82 |
- <i class="fa fa-th"></i> |
|
| 83 |
- </button> |
|
| 84 |
- <div id="sip-dialpad" class="dropdown-menu"> |
|
| 85 |
- <div id="dialpadWrap"> |
|
| 86 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="1">1<span> </span></button>
|
|
| 87 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button>
|
|
| 88 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button>
|
|
| 89 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button>
|
|
| 90 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button>
|
|
| 91 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button>
|
|
| 92 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button>
|
|
| 93 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button>
|
|
| 94 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button>
|
|
| 95 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="*">*<span> </span></button>
|
|
| 96 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button>
|
|
| 97 |
- <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="#">#<span> </span></button>
|
|
| 98 |
- <div class="clearfix"> </div> |
|
| 99 |
- <button id="callButton" class="btn btn-success btn-block btnCall" title="Call"> |
|
| 100 |
- <i class="fa fa-play"></i> Call |
|
| 101 |
- </button> |
|
| 102 |
- </div> |
|
| 103 |
- </div> |
|
| 104 |
- </div> |
|
| 105 |
- <div id="selectFromNmbr"><div id="fromNmbrTitle">From</div><select id="fromNumber" title="Choose a number to call from"></select></div> |
|
| 106 |
- <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter the recipient's number" autocomplete="false" title="Recipient" /> |
|
| 107 |
- <div class="input-group-btn input-group-btn-sm"> |
|
| 108 |
- <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 109 |
- <i class="fa fa-fw fa-volume-up"></i> |
|
| 110 |
- </button> |
|
| 111 |
- <div class="dropdown-menu dropdown-menu-right"> |
|
| 112 |
- <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 113 |
- </div> |
|
| 114 |
- </div> |
|
| 115 |
- </div> |
|
| 116 |
- </div> |
|
| 117 |
- |
|
| 118 |
- <div class="well-sip"> |
|
| 119 |
- <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 120 |
- <div class="panel-body"> |
|
| 121 |
- <div class="page-header"> |
|
| 122 |
- <span> |
|
| 123 |
- <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 124 |
- </span> |
|
| 125 |
- <h3>SIP Trip Phone</h3> |
|
| 126 |
- </div> |
|
| 127 |
- <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number and press 'Call'. |
|
| 128 |
- You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 129 |
- </div> |
|
| 130 |
- </div> |
|
| 131 |
- |
|
| 132 |
- <div id="sip-log" class="panel panel-default hide"> |
|
| 133 |
- <div class="panel-heading"> |
|
| 134 |
- <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear log"></i></span></h4> |
|
| 135 |
- </div> |
|
| 136 |
- <div id="sip-logitems" class="list-group"> |
|
| 137 |
- <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 138 |
- </div> |
|
| 139 |
- </div> |
|
| 140 |
- </div> |
|
| 141 |
- |
|
| 142 |
- <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 143 |
- <div class="modal-dialog modal-sm"> |
|
| 144 |
- <div class="modal-content"> |
|
| 145 |
- <div class="modal-header"> |
|
| 146 |
- <h4 class="modal-title">Sip Error</h4> |
|
| 147 |
- </div> |
|
| 148 |
- <div class="modal-body text-center text-danger"> |
|
| 149 |
- <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 150 |
- <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 151 |
- </div> |
|
| 152 |
- </div> |
|
| 153 |
- </div> |
|
| 154 |
- </div> |
|
| 155 |
- |
|
| 156 |
-</div> |
|
| 157 |
- |
|
| 158 |
-<audio id="ringtone" src="sounds/incoming.ogg" loop></audio> |
|
| 159 |
-<audio id="ringbacktone" src="sounds/outgoing.ogg" loop></audio> |
|
| 160 |
-<audio id="dtmfTone" src="sounds/dtmf.ogg" preload></audio> |
|
| 161 |
- |
|
| 162 |
-<video id="audioRemote"></video> |
|
| 163 |
-<video id="audioLocal"></video> |
|
| 164 |
- |
|
| 165 |
-</body> |
|
| 166 |
-</html> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,167 @@ |
| 1 |
+<!-- |
|
| 2 |
+ @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
+ |
|
| 4 |
+ @author Double Bastion LLC |
|
| 5 |
+ |
|
| 6 |
+ @license GNU AGPL version 3 or any later version |
|
| 7 |
+ |
|
| 8 |
+ This program is free software; you can redistribute it and/or |
|
| 9 |
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
+ License as published by the Free Software Foundation; either |
|
| 11 |
+ version 3 of the License, or any later version. |
|
| 12 |
+ |
|
| 13 |
+ This program is distributed in the hope that it will be useful, |
|
| 14 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
+ GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
+ |
|
| 18 |
+ You should have received a copy of the GNU Affero General Public |
|
| 19 |
+ License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+ This is a modified version of the original file "index.html". |
|
| 24 |
+ |
|
| 25 |
+ Below is the copyright notice of ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
+ which also applies to the original "index.html" file, which was part of ctxSip phone: |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ The MIT License (MIT) |
|
| 30 |
+ |
|
| 31 |
+ Copyright (c) 2014 Collecttix |
|
| 32 |
+ |
|
| 33 |
+ Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
+ of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
+ in the Software without restriction, including without limitation the rights |
|
| 36 |
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
+ copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
+ furnished to do so, subject to the following conditions: |
|
| 39 |
+ |
|
| 40 |
+ The above copyright notice and this permission notice shall be included in |
|
| 41 |
+ all copies or substantial portions of the Software. |
|
| 42 |
+ |
|
| 43 |
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
+ THE SOFTWARE. |
|
| 50 |
+--> |
|
| 51 |
+ |
|
| 52 |
+<!DOCTYPE html> |
|
| 53 |
+<html lang="en"> |
|
| 54 |
+ |
|
| 55 |
+<head> |
|
| 56 |
+ <meta charset="utf-8" /> |
|
| 57 |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 58 |
+ <title>SIP Trip Phone</title> |
|
| 59 |
+ <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 60 |
+ <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 61 |
+ <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 62 |
+ <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 63 |
+ |
|
| 64 |
+ <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 65 |
+ <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 66 |
+ <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 67 |
+ <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 68 |
+ <script type="text/javascript" src="scripts/app.js"></script> |
|
| 69 |
+ |
|
| 70 |
+</head> |
|
| 71 |
+<body id="sipClient"> |
|
| 72 |
+<div class="container-fluid"> |
|
| 73 |
+ |
|
| 74 |
+ <div class="clearfix sipStatus"> |
|
| 75 |
+ <div id="txtCallStatus" class="pull-right"> </div> |
|
| 76 |
+ <div id="txtRegStatus"></div> |
|
| 77 |
+ </div> |
|
| 78 |
+ |
|
| 79 |
+ <div class="form-group" id="phoneUI"> |
|
| 80 |
+ <div class="input-group"> |
|
| 81 |
+ <div class="input-group-btn"> |
|
| 82 |
+ <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show keypad"> |
|
| 83 |
+ <i class="fa fa-th"></i> |
|
| 84 |
+ </button> |
|
| 85 |
+ <div id="sip-dialpad" class="dropdown-menu"> |
|
| 86 |
+ <div id="dialpadWrap"> |
|
| 87 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="1">1<span> </span></button>
|
|
| 88 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button>
|
|
| 89 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button>
|
|
| 90 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button>
|
|
| 91 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button>
|
|
| 92 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button>
|
|
| 93 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button>
|
|
| 94 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button>
|
|
| 95 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button>
|
|
| 96 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="*">*<span> </span></button>
|
|
| 97 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button>
|
|
| 98 |
+ <button type="button" onclick="document.getElementById('dtmfTone').cloneNode(true).play()" class="btn btn-default digit" data-digit="#">#<span> </span></button>
|
|
| 99 |
+ <div class="clearfix"> </div> |
|
| 100 |
+ <button id="callButton" class="btn btn-success btn-block btnCall" title="Call"> |
|
| 101 |
+ <i class="fa fa-play"></i> Call |
|
| 102 |
+ </button> |
|
| 103 |
+ </div> |
|
| 104 |
+ </div> |
|
| 105 |
+ </div> |
|
| 106 |
+ <div id="selectFromNmbr"><div id="fromNmbrTitle">From</div><select id="fromNumber" title="Choose a number to call from"></select></div> |
|
| 107 |
+ <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter the recipient's number" autocomplete="false" title="Recipient" /> |
|
| 108 |
+ <div class="input-group-btn input-group-btn-sm"> |
|
| 109 |
+ <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 110 |
+ <i class="fa fa-fw fa-volume-up"></i> |
|
| 111 |
+ </button> |
|
| 112 |
+ <div class="dropdown-menu dropdown-menu-right"> |
|
| 113 |
+ <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 114 |
+ </div> |
|
| 115 |
+ </div> |
|
| 116 |
+ </div> |
|
| 117 |
+ </div> |
|
| 118 |
+ |
|
| 119 |
+ <div class="well-sip"> |
|
| 120 |
+ <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 121 |
+ <div class="panel-body"> |
|
| 122 |
+ <div class="page-header"> |
|
| 123 |
+ <span> |
|
| 124 |
+ <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 125 |
+ </span> |
|
| 126 |
+ <h3>SIP Trip Phone</h3> |
|
| 127 |
+ </div> |
|
| 128 |
+ <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number and press 'Call'. |
|
| 129 |
+ You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 130 |
+ </div> |
|
| 131 |
+ </div> |
|
| 132 |
+ |
|
| 133 |
+ <div id="sip-log" class="panel panel-default hide"> |
|
| 134 |
+ <div class="panel-heading"> |
|
| 135 |
+ <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear log"></i></span></h4> |
|
| 136 |
+ </div> |
|
| 137 |
+ <div id="sip-logitems" class="list-group"> |
|
| 138 |
+ <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 139 |
+ </div> |
|
| 140 |
+ </div> |
|
| 141 |
+ </div> |
|
| 142 |
+ |
|
| 143 |
+ <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 144 |
+ <div class="modal-dialog modal-sm"> |
|
| 145 |
+ <div class="modal-content"> |
|
| 146 |
+ <div class="modal-header"> |
|
| 147 |
+ <h4 class="modal-title">Sip Error</h4> |
|
| 148 |
+ </div> |
|
| 149 |
+ <div class="modal-body text-center text-danger"> |
|
| 150 |
+ <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 151 |
+ <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 152 |
+ </div> |
|
| 153 |
+ </div> |
|
| 154 |
+ </div> |
|
| 155 |
+ </div> |
|
| 156 |
+ |
|
| 157 |
+</div> |
|
| 158 |
+ |
|
| 159 |
+<audio id="ringtone" src="sounds/incoming.ogg" loop></audio> |
|
| 160 |
+<audio id="ringbacktone" src="sounds/outgoing.ogg" loop></audio> |
|
| 161 |
+<audio id="dtmfTone" src="sounds/dtmf.ogg" preload></audio> |
|
| 162 |
+ |
|
| 163 |
+<video id="audioRemote"></video> |
|
| 164 |
+<video id="audioLocal"></video> |
|
| 165 |
+ |
|
| 166 |
+</body> |
|
| 167 |
+</html> |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,167 +0,0 @@ |
| 1 |
-<!-- |
|
| 2 |
- @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
- |
|
| 4 |
- @author Double Bastion LLC |
|
| 5 |
- |
|
| 6 |
- @license GNU AGPL version 3 or any later version |
|
| 7 |
- |
|
| 8 |
- This program is free software; you can redistribute it and/or |
|
| 9 |
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
- License as published by the Free Software Foundation; either |
|
| 11 |
- version 3 of the License, or any later version. |
|
| 12 |
- |
|
| 13 |
- This program is distributed in the hope that it will be useful, |
|
| 14 |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
- GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
- |
|
| 18 |
- You should have received a copy of the GNU Affero General Public |
|
| 19 |
- License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 |
- This is a modified version of the original file "index.html". |
|
| 24 |
- |
|
| 25 |
- Below is the copyright notice of ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
- which also applies to the original "index.html" file, which was part of ctxSip phone: |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
- The MIT License (MIT) |
|
| 30 |
- |
|
| 31 |
- Copyright (c) 2014 Collecttix |
|
| 32 |
- |
|
| 33 |
- Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
- of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
- in the Software without restriction, including without limitation the rights |
|
| 36 |
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
- copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
- furnished to do so, subject to the following conditions: |
|
| 39 |
- |
|
| 40 |
- The above copyright notice and this permission notice shall be included in |
|
| 41 |
- all copies or substantial portions of the Software. |
|
| 42 |
- |
|
| 43 |
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
- THE SOFTWARE. |
|
| 50 |
- |
|
| 51 |
-<!DOCTYPE html> |
|
| 52 |
-<html lang="en"> |
|
| 53 |
- |
|
| 54 |
-<head> |
|
| 55 |
- <meta charset="utf-8" /> |
|
| 56 |
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 57 |
- <title>SIP Trip Phone</title> |
|
| 58 |
- <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 59 |
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 60 |
- <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 61 |
- <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 62 |
- |
|
| 63 |
- <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 64 |
- <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 65 |
- <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 66 |
- <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 67 |
- <script type="text/javascript" src="scripts/app.js"></script> |
|
| 68 |
- |
|
| 69 |
-</head> |
|
| 70 |
-<body id="sipClient"> |
|
| 71 |
-<div class="container-fluid"> |
|
| 72 |
- |
|
| 73 |
- <div class="clearfix sipStatus"> |
|
| 74 |
- <div id="txtCallStatus" class="pull-right"> </div> |
|
| 75 |
- <div id="txtRegStatus"></div> |
|
| 76 |
- </div> |
|
| 77 |
- |
|
| 78 |
- <div class="form-group" id="phoneUI"> |
|
| 79 |
- <div class="input-group"> |
|
| 80 |
- <div class="input-group-btn"> |
|
| 81 |
- <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 82 |
- <i class="fa fa-th"></i> |
|
| 83 |
- </button> |
|
| 84 |
- <div id="sip-dialpad" class="dropdown-menu"> |
|
| 85 |
- <div id="dialpadWrap"> |
|
| 86 |
- <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 87 |
- <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 88 |
- <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 89 |
- <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 90 |
- <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 91 |
- <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 92 |
- <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 93 |
- <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 94 |
- <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 95 |
- <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 96 |
- <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 97 |
- <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 98 |
- <div class="clearfix"> </div> |
|
| 99 |
- <button id="callButton" class="btn btn-success btn-block btnCall" title="Call"> |
|
| 100 |
- <i class="fa fa-play"></i> Call |
|
| 101 |
- </button> |
|
| 102 |
- </div> |
|
| 103 |
- </div> |
|
| 104 |
- </div> |
|
| 105 |
- <div id="selectFromNmbr"><div id="fromNmbrTitle">From</div><select id="fromNumber"></select></div> |
|
| 106 |
- <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter recipient's number" autocomplete="false" title="Recipient" /> |
|
| 107 |
- <div class="input-group-btn input-group-btn-sm"> |
|
| 108 |
- <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 109 |
- <i class="fa fa-fw fa-volume-up"></i> |
|
| 110 |
- </button> |
|
| 111 |
- <div class="dropdown-menu dropdown-menu-right"> |
|
| 112 |
- <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 113 |
- </div> |
|
| 114 |
- </div> |
|
| 115 |
- </div> |
|
| 116 |
- </div> |
|
| 117 |
- |
|
| 118 |
- <div class="well-sip"> |
|
| 119 |
- <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 120 |
- <div class="panel-body"> |
|
| 121 |
- <div class="page-header"> |
|
| 122 |
- <span> |
|
| 123 |
- <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 124 |
- </span> |
|
| 125 |
- <h3>SIP Trip Phone</h3> |
|
| 126 |
- </div> |
|
| 127 |
- <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number and press 'Call'. |
|
| 128 |
- You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 129 |
- </div> |
|
| 130 |
- </div> |
|
| 131 |
- |
|
| 132 |
- <div id="sip-log" class="panel panel-default hide"> |
|
| 133 |
- <div class="panel-heading"> |
|
| 134 |
- <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 135 |
- </div> |
|
| 136 |
- <div id="sip-logitems" class="list-group"> |
|
| 137 |
- <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 138 |
- </div> |
|
| 139 |
- </div> |
|
| 140 |
- </div> |
|
| 141 |
- |
|
| 142 |
- <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 143 |
- <div class="modal-dialog modal-sm"> |
|
| 144 |
- <div class="modal-content"> |
|
| 145 |
- <div class="modal-header"> |
|
| 146 |
- <h4 class="modal-title">Sip Error</h4> |
|
| 147 |
- </div> |
|
| 148 |
- <div class="modal-body text-center text-danger"> |
|
| 149 |
- <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 150 |
- <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 151 |
- </div> |
|
| 152 |
- </div> |
|
| 153 |
- </div> |
|
| 154 |
- </div> |
|
| 155 |
- |
|
| 156 |
-</div> |
|
| 157 |
- |
|
| 158 |
-<audio id="ringtone" src="sounds/incoming.ogg" loop></audio> |
|
| 159 |
-<audio id="ringbacktone" src="sounds/outgoing.ogg" loop></audio> |
|
| 160 |
-<audio id="dtmfTone" src="sounds/dtmf.ogg"></audio> |
|
| 161 |
- |
|
| 162 |
-<video id="audioRemote"></video> |
|
| 163 |
-<video id="audioLocal"></video> |
|
| 164 |
- |
|
| 165 |
-</body> |
|
| 166 |
-</html> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,167 @@ |
| 1 |
+<!-- |
|
| 2 |
+ @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
+ |
|
| 4 |
+ @author Double Bastion LLC |
|
| 5 |
+ |
|
| 6 |
+ @license GNU AGPL version 3 or any later version |
|
| 7 |
+ |
|
| 8 |
+ This program is free software; you can redistribute it and/or |
|
| 9 |
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
+ License as published by the Free Software Foundation; either |
|
| 11 |
+ version 3 of the License, or any later version. |
|
| 12 |
+ |
|
| 13 |
+ This program is distributed in the hope that it will be useful, |
|
| 14 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
+ GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
+ |
|
| 18 |
+ You should have received a copy of the GNU Affero General Public |
|
| 19 |
+ License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+ This is a modified version of the original file "index.html". |
|
| 24 |
+ |
|
| 25 |
+ Below is the copyright notice of ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
+ which also applies to the original "index.html" file, which was part of ctxSip phone: |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ The MIT License (MIT) |
|
| 30 |
+ |
|
| 31 |
+ Copyright (c) 2014 Collecttix |
|
| 32 |
+ |
|
| 33 |
+ Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
+ of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
+ in the Software without restriction, including without limitation the rights |
|
| 36 |
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
+ copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
+ furnished to do so, subject to the following conditions: |
|
| 39 |
+ |
|
| 40 |
+ The above copyright notice and this permission notice shall be included in |
|
| 41 |
+ all copies or substantial portions of the Software. |
|
| 42 |
+ |
|
| 43 |
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
+ THE SOFTWARE. |
|
| 50 |
+--> |
|
| 51 |
+ |
|
| 52 |
+<!DOCTYPE html> |
|
| 53 |
+<html lang="en"> |
|
| 54 |
+ |
|
| 55 |
+<head> |
|
| 56 |
+ <meta charset="utf-8" /> |
|
| 57 |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 58 |
+ <title>SIP Trip Phone</title> |
|
| 59 |
+ <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 60 |
+ <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 61 |
+ <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 62 |
+ <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 63 |
+ |
|
| 64 |
+ <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 65 |
+ <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 66 |
+ <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 67 |
+ <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 68 |
+ <script type="text/javascript" src="scripts/app.js"></script> |
|
| 69 |
+ |
|
| 70 |
+</head> |
|
| 71 |
+<body id="sipClient"> |
|
| 72 |
+<div class="container-fluid"> |
|
| 73 |
+ |
|
| 74 |
+ <div class="clearfix sipStatus"> |
|
| 75 |
+ <div id="txtCallStatus" class="pull-right"> </div> |
|
| 76 |
+ <div id="txtRegStatus"></div> |
|
| 77 |
+ </div> |
|
| 78 |
+ |
|
| 79 |
+ <div class="form-group" id="phoneUI"> |
|
| 80 |
+ <div class="input-group"> |
|
| 81 |
+ <div class="input-group-btn"> |
|
| 82 |
+ <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 83 |
+ <i class="fa fa-th"></i> |
|
| 84 |
+ </button> |
|
| 85 |
+ <div id="sip-dialpad" class="dropdown-menu"> |
|
| 86 |
+ <div id="dialpadWrap"> |
|
| 87 |
+ <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 88 |
+ <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 89 |
+ <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 90 |
+ <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 91 |
+ <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 92 |
+ <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 93 |
+ <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 94 |
+ <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 95 |
+ <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 96 |
+ <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 97 |
+ <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 98 |
+ <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 99 |
+ <div class="clearfix"> </div> |
|
| 100 |
+ <button id="callButton" class="btn btn-success btn-block btnCall" title="Call"> |
|
| 101 |
+ <i class="fa fa-play"></i> Call |
|
| 102 |
+ </button> |
|
| 103 |
+ </div> |
|
| 104 |
+ </div> |
|
| 105 |
+ </div> |
|
| 106 |
+ <div id="selectFromNmbr"><div id="fromNmbrTitle">From</div><select id="fromNumber"></select></div> |
|
| 107 |
+ <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter recipient's number" autocomplete="false" title="Recipient" /> |
|
| 108 |
+ <div class="input-group-btn input-group-btn-sm"> |
|
| 109 |
+ <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 110 |
+ <i class="fa fa-fw fa-volume-up"></i> |
|
| 111 |
+ </button> |
|
| 112 |
+ <div class="dropdown-menu dropdown-menu-right"> |
|
| 113 |
+ <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 114 |
+ </div> |
|
| 115 |
+ </div> |
|
| 116 |
+ </div> |
|
| 117 |
+ </div> |
|
| 118 |
+ |
|
| 119 |
+ <div class="well-sip"> |
|
| 120 |
+ <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 121 |
+ <div class="panel-body"> |
|
| 122 |
+ <div class="page-header"> |
|
| 123 |
+ <span> |
|
| 124 |
+ <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 125 |
+ </span> |
|
| 126 |
+ <h3>SIP Trip Phone</h3> |
|
| 127 |
+ </div> |
|
| 128 |
+ <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number and press 'Call'. |
|
| 129 |
+ You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 130 |
+ </div> |
|
| 131 |
+ </div> |
|
| 132 |
+ |
|
| 133 |
+ <div id="sip-log" class="panel panel-default hide"> |
|
| 134 |
+ <div class="panel-heading"> |
|
| 135 |
+ <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 136 |
+ </div> |
|
| 137 |
+ <div id="sip-logitems" class="list-group"> |
|
| 138 |
+ <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 139 |
+ </div> |
|
| 140 |
+ </div> |
|
| 141 |
+ </div> |
|
| 142 |
+ |
|
| 143 |
+ <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 144 |
+ <div class="modal-dialog modal-sm"> |
|
| 145 |
+ <div class="modal-content"> |
|
| 146 |
+ <div class="modal-header"> |
|
| 147 |
+ <h4 class="modal-title">Sip Error</h4> |
|
| 148 |
+ </div> |
|
| 149 |
+ <div class="modal-body text-center text-danger"> |
|
| 150 |
+ <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 151 |
+ <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 152 |
+ </div> |
|
| 153 |
+ </div> |
|
| 154 |
+ </div> |
|
| 155 |
+ </div> |
|
| 156 |
+ |
|
| 157 |
+</div> |
|
| 158 |
+ |
|
| 159 |
+<audio id="ringtone" src="sounds/incoming.ogg" loop></audio> |
|
| 160 |
+<audio id="ringbacktone" src="sounds/outgoing.ogg" loop></audio> |
|
| 161 |
+<audio id="dtmfTone" src="sounds/dtmf.ogg"></audio> |
|
| 162 |
+ |
|
| 163 |
+<video id="audioRemote"></video> |
|
| 164 |
+<video id="audioLocal"></video> |
|
| 165 |
+ |
|
| 166 |
+</body> |
|
| 167 |
+</html> |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,164 +0,0 @@ |
| 1 |
-<!-- |
|
| 2 |
- @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
- |
|
| 4 |
- @author Double Bastion LLC |
|
| 5 |
- |
|
| 6 |
- @license GNU AGPL version 3 or any later version |
|
| 7 |
- |
|
| 8 |
- This program is free software; you can redistribute it and/or |
|
| 9 |
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
- License as published by the Free Software Foundation; either |
|
| 11 |
- version 3 of the License, or any later version. |
|
| 12 |
- |
|
| 13 |
- This program is distributed in the hope that it will be useful, |
|
| 14 |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
- GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
- |
|
| 18 |
- You should have received a copy of the GNU Affero General Public |
|
| 19 |
- License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 |
- This is a modified version of the original file "index.html". |
|
| 24 |
- |
|
| 25 |
- We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
- which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
- The MIT License (MIT) |
|
| 30 |
- |
|
| 31 |
- Copyright (c) 2014 Collecttix |
|
| 32 |
- |
|
| 33 |
- Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
- of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
- in the Software without restriction, including without limitation the rights |
|
| 36 |
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
- copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
- furnished to do so, subject to the following conditions: |
|
| 39 |
- |
|
| 40 |
- The above copyright notice and this permission notice shall be included in |
|
| 41 |
- all copies or substantial portions of the Software. |
|
| 42 |
- |
|
| 43 |
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
- THE SOFTWARE. |
|
| 50 |
- |
|
| 51 |
-<!DOCTYPE html> |
|
| 52 |
-<html lang="en"> |
|
| 53 |
- |
|
| 54 |
-<head> |
|
| 55 |
- <meta charset="utf-8" /> |
|
| 56 |
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 57 |
- <title>SIP Trip Phone</title> |
|
| 58 |
- <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 59 |
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 60 |
- <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 61 |
- <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 62 |
- |
|
| 63 |
- <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 64 |
- <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 65 |
- <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 66 |
- <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 67 |
- <script type="text/javascript" src="scripts/app.js"></script> |
|
| 68 |
- |
|
| 69 |
-</head> |
|
| 70 |
-<body id="sipClient"> |
|
| 71 |
-<div class="container-fluid"> |
|
| 72 |
- |
|
| 73 |
- <div class="clearfix sipStatus"> |
|
| 74 |
- <div id="txtCallStatus" class="pull-right"> </div> |
|
| 75 |
- <div id="txtRegStatus"></div> |
|
| 76 |
- </div> |
|
| 77 |
- |
|
| 78 |
- <div class="form-group" id="phoneUI"> |
|
| 79 |
- <div class="input-group"> |
|
| 80 |
- <div class="input-group-btn"> |
|
| 81 |
- <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 82 |
- <i class="fa fa-th"></i> |
|
| 83 |
- </button> |
|
| 84 |
- <div id="sip-dialpad" class="dropdown-menu"> |
|
| 85 |
- <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 86 |
- <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 87 |
- <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 88 |
- <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 89 |
- <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 90 |
- <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 91 |
- <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 92 |
- <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 93 |
- <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 94 |
- <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 95 |
- <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 96 |
- <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 97 |
- <div class="clearfix"> </div> |
|
| 98 |
- <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 99 |
- <i class="fa fa-play"></i> Call |
|
| 100 |
- </button> |
|
| 101 |
- </div> |
|
| 102 |
- </div> |
|
| 103 |
- <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 104 |
- <div class="input-group-btn input-group-btn-sm"> |
|
| 105 |
- <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 106 |
- <i class="fa fa-fw fa-volume-up"></i> |
|
| 107 |
- </button> |
|
| 108 |
- <div class="dropdown-menu dropdown-menu-right"> |
|
| 109 |
- <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 110 |
- </div> |
|
| 111 |
- </div> |
|
| 112 |
- </div> |
|
| 113 |
- </div> |
|
| 114 |
- |
|
| 115 |
- <div class="well-sip"> |
|
| 116 |
- <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 117 |
- <div class="panel-body"> |
|
| 118 |
- <div class="page-header"> |
|
| 119 |
- <span> |
|
| 120 |
- <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 121 |
- </span> |
|
| 122 |
- <h3>SIP Trip Phone</h3> |
|
| 123 |
- </div> |
|
| 124 |
- <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 125 |
- You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 126 |
- </div> |
|
| 127 |
- </div> |
|
| 128 |
- |
|
| 129 |
- <div id="sip-log" class="panel panel-default hide"> |
|
| 130 |
- <div class="panel-heading"> |
|
| 131 |
- <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 132 |
- </div> |
|
| 133 |
- <div id="sip-logitems" class="list-group"> |
|
| 134 |
- <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 135 |
- </div> |
|
| 136 |
- </div> |
|
| 137 |
- </div> |
|
| 138 |
- |
|
| 139 |
- <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 140 |
- <div class="modal-dialog modal-sm"> |
|
| 141 |
- <div class="modal-content"> |
|
| 142 |
- <div class="modal-header"> |
|
| 143 |
- <h4 class="modal-title">Sip Error</h4> |
|
| 144 |
- </div> |
|
| 145 |
- <div class="modal-body text-center text-danger"> |
|
| 146 |
- <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 147 |
- <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 148 |
- </div> |
|
| 149 |
- </div> |
|
| 150 |
- </div> |
|
| 151 |
- </div> |
|
| 152 |
- |
|
| 153 |
-</div> |
|
| 154 |
- |
|
| 155 |
-<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 156 |
-<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 157 |
-<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 158 |
- |
|
| 159 |
-<video id="audioRemote"></video> |
|
| 160 |
-<video id="audioLocal"></video> |
|
| 161 |
- |
|
| 162 |
-</body> |
|
| 163 |
-</html> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,164 @@ |
| 1 |
+<!-- |
|
| 2 |
+ @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
+ |
|
| 4 |
+ @author Double Bastion LLC |
|
| 5 |
+ |
|
| 6 |
+ @license GNU AGPL version 3 or any later version |
|
| 7 |
+ |
|
| 8 |
+ This program is free software; you can redistribute it and/or |
|
| 9 |
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
+ License as published by the Free Software Foundation; either |
|
| 11 |
+ version 3 of the License, or any later version. |
|
| 12 |
+ |
|
| 13 |
+ This program is distributed in the hope that it will be useful, |
|
| 14 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
+ GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
+ |
|
| 18 |
+ You should have received a copy of the GNU Affero General Public |
|
| 19 |
+ License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+ This is a modified version of the original file "index.html". |
|
| 24 |
+ |
|
| 25 |
+ We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
+ which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ The MIT License (MIT) |
|
| 30 |
+ |
|
| 31 |
+ Copyright (c) 2014 Collecttix |
|
| 32 |
+ |
|
| 33 |
+ Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
+ of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
+ in the Software without restriction, including without limitation the rights |
|
| 36 |
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
+ copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
+ furnished to do so, subject to the following conditions: |
|
| 39 |
+ |
|
| 40 |
+ The above copyright notice and this permission notice shall be included in |
|
| 41 |
+ all copies or substantial portions of the Software. |
|
| 42 |
+ |
|
| 43 |
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
+ THE SOFTWARE. |
|
| 50 |
+--> |
|
| 51 |
+ |
|
| 52 |
+<!DOCTYPE html> |
|
| 53 |
+<html lang="en"> |
|
| 54 |
+ |
|
| 55 |
+<head> |
|
| 56 |
+ <meta charset="utf-8" /> |
|
| 57 |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 58 |
+ <title>SIP Trip Phone</title> |
|
| 59 |
+ <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 60 |
+ <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 61 |
+ <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 62 |
+ <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 63 |
+ |
|
| 64 |
+ <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 65 |
+ <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 66 |
+ <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 67 |
+ <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 68 |
+ <script type="text/javascript" src="scripts/app.js"></script> |
|
| 69 |
+ |
|
| 70 |
+</head> |
|
| 71 |
+<body id="sipClient"> |
|
| 72 |
+<div class="container-fluid"> |
|
| 73 |
+ |
|
| 74 |
+ <div class="clearfix sipStatus"> |
|
| 75 |
+ <div id="txtCallStatus" class="pull-right"> </div> |
|
| 76 |
+ <div id="txtRegStatus"></div> |
|
| 77 |
+ </div> |
|
| 78 |
+ |
|
| 79 |
+ <div class="form-group" id="phoneUI"> |
|
| 80 |
+ <div class="input-group"> |
|
| 81 |
+ <div class="input-group-btn"> |
|
| 82 |
+ <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 83 |
+ <i class="fa fa-th"></i> |
|
| 84 |
+ </button> |
|
| 85 |
+ <div id="sip-dialpad" class="dropdown-menu"> |
|
| 86 |
+ <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 87 |
+ <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 88 |
+ <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 89 |
+ <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 90 |
+ <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 91 |
+ <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 92 |
+ <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 93 |
+ <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 94 |
+ <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 95 |
+ <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 96 |
+ <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 97 |
+ <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 98 |
+ <div class="clearfix"> </div> |
|
| 99 |
+ <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 100 |
+ <i class="fa fa-play"></i> Call |
|
| 101 |
+ </button> |
|
| 102 |
+ </div> |
|
| 103 |
+ </div> |
|
| 104 |
+ <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 105 |
+ <div class="input-group-btn input-group-btn-sm"> |
|
| 106 |
+ <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 107 |
+ <i class="fa fa-fw fa-volume-up"></i> |
|
| 108 |
+ </button> |
|
| 109 |
+ <div class="dropdown-menu dropdown-menu-right"> |
|
| 110 |
+ <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+ </div> |
|
| 114 |
+ </div> |
|
| 115 |
+ |
|
| 116 |
+ <div class="well-sip"> |
|
| 117 |
+ <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 118 |
+ <div class="panel-body"> |
|
| 119 |
+ <div class="page-header"> |
|
| 120 |
+ <span> |
|
| 121 |
+ <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 122 |
+ </span> |
|
| 123 |
+ <h3>SIP Trip Phone</h3> |
|
| 124 |
+ </div> |
|
| 125 |
+ <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 126 |
+ You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 127 |
+ </div> |
|
| 128 |
+ </div> |
|
| 129 |
+ |
|
| 130 |
+ <div id="sip-log" class="panel panel-default hide"> |
|
| 131 |
+ <div class="panel-heading"> |
|
| 132 |
+ <h4 class="text-muted panel-title">Recent Calls <span class="pull-right" style="cursor:pointer;"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 133 |
+ </div> |
|
| 134 |
+ <div id="sip-logitems" class="list-group"> |
|
| 135 |
+ <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 136 |
+ </div> |
|
| 137 |
+ </div> |
|
| 138 |
+ </div> |
|
| 139 |
+ |
|
| 140 |
+ <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 141 |
+ <div class="modal-dialog modal-sm"> |
|
| 142 |
+ <div class="modal-content"> |
|
| 143 |
+ <div class="modal-header"> |
|
| 144 |
+ <h4 class="modal-title">Sip Error</h4> |
|
| 145 |
+ </div> |
|
| 146 |
+ <div class="modal-body text-center text-danger"> |
|
| 147 |
+ <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 148 |
+ <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 149 |
+ </div> |
|
| 150 |
+ </div> |
|
| 151 |
+ </div> |
|
| 152 |
+ </div> |
|
| 153 |
+ |
|
| 154 |
+</div> |
|
| 155 |
+ |
|
| 156 |
+<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 157 |
+<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 158 |
+<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 159 |
+ |
|
| 160 |
+<video id="audioRemote"></video> |
|
| 161 |
+<video id="audioLocal"></video> |
|
| 162 |
+ |
|
| 163 |
+</body> |
|
| 164 |
+</html> |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,164 +0,0 @@ |
| 1 |
-<!-- |
|
| 2 |
- @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
- |
|
| 4 |
- @author Double Bastion LLC |
|
| 5 |
- |
|
| 6 |
- @license GNU AGPL version 3 or any later version |
|
| 7 |
- |
|
| 8 |
- This program is free software; you can redistribute it and/or |
|
| 9 |
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
- License as published by the Free Software Foundation; either |
|
| 11 |
- version 3 of the License, or any later version. |
|
| 12 |
- |
|
| 13 |
- This program is distributed in the hope that it will be useful, |
|
| 14 |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
- GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
- |
|
| 18 |
- You should have received a copy of the GNU Affero General Public |
|
| 19 |
- License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 |
- This is a modified version of the original file "index.html". |
|
| 24 |
- |
|
| 25 |
- We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
- which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
- The MIT License (MIT) |
|
| 30 |
- |
|
| 31 |
- Copyright (c) 2014 Collecttix |
|
| 32 |
- |
|
| 33 |
- Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
- of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
- in the Software without restriction, including without limitation the rights |
|
| 36 |
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
- copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
- furnished to do so, subject to the following conditions: |
|
| 39 |
- |
|
| 40 |
- The above copyright notice and this permission notice shall be included in |
|
| 41 |
- all copies or substantial portions of the Software. |
|
| 42 |
- |
|
| 43 |
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
- THE SOFTWARE. |
|
| 50 |
- |
|
| 51 |
-<!DOCTYPE html> |
|
| 52 |
-<html lang="en"> |
|
| 53 |
- |
|
| 54 |
-<head> |
|
| 55 |
- <meta charset="utf-8" /> |
|
| 56 |
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 57 |
- <title>SIP Trip Phone</title> |
|
| 58 |
- <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 59 |
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 60 |
- <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 61 |
- <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 62 |
- |
|
| 63 |
- <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 64 |
- <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 65 |
- <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 66 |
- <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 67 |
- <script type="text/javascript" src="scripts/app.js"></script> |
|
| 68 |
- |
|
| 69 |
-</head> |
|
| 70 |
-<body id="sipClient"> |
|
| 71 |
-<div class="container-fluid"> |
|
| 72 |
- |
|
| 73 |
- <div class="clearfix sipStatus"> |
|
| 74 |
- <div id="txtCallStatus" class="pull-right"> </div> |
|
| 75 |
- <div id="txtRegStatus"></div> |
|
| 76 |
- </div> |
|
| 77 |
- |
|
| 78 |
- <div class="form-group" id="phoneUI"> |
|
| 79 |
- <div class="input-group"> |
|
| 80 |
- <div class="input-group-btn"> |
|
| 81 |
- <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 82 |
- <i class="fa fa-th"></i> |
|
| 83 |
- </button> |
|
| 84 |
- <div id="sip-dialpad" class="dropdown-menu"> |
|
| 85 |
- <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 86 |
- <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 87 |
- <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 88 |
- <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 89 |
- <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 90 |
- <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 91 |
- <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 92 |
- <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 93 |
- <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 94 |
- <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 95 |
- <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 96 |
- <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 97 |
- <div class="clearfix"> </div> |
|
| 98 |
- <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 99 |
- <i class="fa fa-play"></i> Call |
|
| 100 |
- </button> |
|
| 101 |
- </div> |
|
| 102 |
- </div> |
|
| 103 |
- <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 104 |
- <div class="input-group-btn input-group-btn-sm"> |
|
| 105 |
- <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 106 |
- <i class="fa fa-fw fa-volume-up"></i> |
|
| 107 |
- </button> |
|
| 108 |
- <div class="dropdown-menu dropdown-menu-right"> |
|
| 109 |
- <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 110 |
- </div> |
|
| 111 |
- </div> |
|
| 112 |
- </div> |
|
| 113 |
- </div> |
|
| 114 |
- |
|
| 115 |
- <div class="well-sip"> |
|
| 116 |
- <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 117 |
- <div class="panel-body"> |
|
| 118 |
- <div class="page-header"> |
|
| 119 |
- <span> |
|
| 120 |
- <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 121 |
- </span> |
|
| 122 |
- <h3>SIP Trip Phone</h3> |
|
| 123 |
- </div> |
|
| 124 |
- <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 125 |
- You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 126 |
- </div> |
|
| 127 |
- </div> |
|
| 128 |
- |
|
| 129 |
- <div id="sip-log" class="panel panel-default hide"> |
|
| 130 |
- <div class="panel-heading"> |
|
| 131 |
- <h4 class="text-muted panel-title">Recent Calls <span class="pull-right"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 132 |
- </div> |
|
| 133 |
- <div id="sip-logitems" class="list-group"> |
|
| 134 |
- <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 135 |
- </div> |
|
| 136 |
- </div> |
|
| 137 |
- </div> |
|
| 138 |
- |
|
| 139 |
- <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 140 |
- <div class="modal-dialog modal-sm"> |
|
| 141 |
- <div class="modal-content"> |
|
| 142 |
- <div class="modal-header"> |
|
| 143 |
- <h4 class="modal-title">Sip Error</h4> |
|
| 144 |
- </div> |
|
| 145 |
- <div class="modal-body text-center text-danger"> |
|
| 146 |
- <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 147 |
- <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 148 |
- </div> |
|
| 149 |
- </div> |
|
| 150 |
- </div> |
|
| 151 |
- </div> |
|
| 152 |
- |
|
| 153 |
-</div> |
|
| 154 |
- |
|
| 155 |
-<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 156 |
-<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 157 |
-<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 158 |
- |
|
| 159 |
-<video id="audioRemote"></video> |
|
| 160 |
-<video id="audioLocal"></video> |
|
| 161 |
- |
|
| 162 |
-</body> |
|
| 163 |
-</html> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,164 @@ |
| 1 |
+<!-- |
|
| 2 |
+ @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
+ |
|
| 4 |
+ @author Double Bastion LLC |
|
| 5 |
+ |
|
| 6 |
+ @license GNU AGPL version 3 or any later version |
|
| 7 |
+ |
|
| 8 |
+ This program is free software; you can redistribute it and/or |
|
| 9 |
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
+ License as published by the Free Software Foundation; either |
|
| 11 |
+ version 3 of the License, or any later version. |
|
| 12 |
+ |
|
| 13 |
+ This program is distributed in the hope that it will be useful, |
|
| 14 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
+ GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
+ |
|
| 18 |
+ You should have received a copy of the GNU Affero General Public |
|
| 19 |
+ License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+ This is a modified version of the original file "index.html". |
|
| 24 |
+ |
|
| 25 |
+ We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
+ which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ The MIT License (MIT) |
|
| 30 |
+ |
|
| 31 |
+ Copyright (c) 2014 Collecttix |
|
| 32 |
+ |
|
| 33 |
+ Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
+ of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
+ in the Software without restriction, including without limitation the rights |
|
| 36 |
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
+ copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
+ furnished to do so, subject to the following conditions: |
|
| 39 |
+ |
|
| 40 |
+ The above copyright notice and this permission notice shall be included in |
|
| 41 |
+ all copies or substantial portions of the Software. |
|
| 42 |
+ |
|
| 43 |
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
+ THE SOFTWARE. |
|
| 50 |
+--> |
|
| 51 |
+ |
|
| 52 |
+<!DOCTYPE html> |
|
| 53 |
+<html lang="en"> |
|
| 54 |
+ |
|
| 55 |
+<head> |
|
| 56 |
+ <meta charset="utf-8" /> |
|
| 57 |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 58 |
+ <title>SIP Trip Phone</title> |
|
| 59 |
+ <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 60 |
+ <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 61 |
+ <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 62 |
+ <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 63 |
+ |
|
| 64 |
+ <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 65 |
+ <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 66 |
+ <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 67 |
+ <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 68 |
+ <script type="text/javascript" src="scripts/app.js"></script> |
|
| 69 |
+ |
|
| 70 |
+</head> |
|
| 71 |
+<body id="sipClient"> |
|
| 72 |
+<div class="container-fluid"> |
|
| 73 |
+ |
|
| 74 |
+ <div class="clearfix sipStatus"> |
|
| 75 |
+ <div id="txtCallStatus" class="pull-right"> </div> |
|
| 76 |
+ <div id="txtRegStatus"></div> |
|
| 77 |
+ </div> |
|
| 78 |
+ |
|
| 79 |
+ <div class="form-group" id="phoneUI"> |
|
| 80 |
+ <div class="input-group"> |
|
| 81 |
+ <div class="input-group-btn"> |
|
| 82 |
+ <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 83 |
+ <i class="fa fa-th"></i> |
|
| 84 |
+ </button> |
|
| 85 |
+ <div id="sip-dialpad" class="dropdown-menu"> |
|
| 86 |
+ <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 87 |
+ <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 88 |
+ <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 89 |
+ <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 90 |
+ <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 91 |
+ <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 92 |
+ <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 93 |
+ <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 94 |
+ <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 95 |
+ <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 96 |
+ <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 97 |
+ <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 98 |
+ <div class="clearfix"> </div> |
|
| 99 |
+ <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 100 |
+ <i class="fa fa-play"></i> Call |
|
| 101 |
+ </button> |
|
| 102 |
+ </div> |
|
| 103 |
+ </div> |
|
| 104 |
+ <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 105 |
+ <div class="input-group-btn input-group-btn-sm"> |
|
| 106 |
+ <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 107 |
+ <i class="fa fa-fw fa-volume-up"></i> |
|
| 108 |
+ </button> |
|
| 109 |
+ <div class="dropdown-menu dropdown-menu-right"> |
|
| 110 |
+ <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+ </div> |
|
| 114 |
+ </div> |
|
| 115 |
+ |
|
| 116 |
+ <div class="well-sip"> |
|
| 117 |
+ <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 118 |
+ <div class="panel-body"> |
|
| 119 |
+ <div class="page-header"> |
|
| 120 |
+ <span> |
|
| 121 |
+ <img src="images/sip_trip_phone_logo_large.svg" style="display:block;margin:0px auto;width:80px;height:80px" /> |
|
| 122 |
+ </span> |
|
| 123 |
+ <h3>SIP Trip Phone</h3> |
|
| 124 |
+ </div> |
|
| 125 |
+ <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 126 |
+ You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 127 |
+ </div> |
|
| 128 |
+ </div> |
|
| 129 |
+ |
|
| 130 |
+ <div id="sip-log" class="panel panel-default hide"> |
|
| 131 |
+ <div class="panel-heading"> |
|
| 132 |
+ <h4 class="text-muted panel-title">Recent Calls <span class="pull-right"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 133 |
+ </div> |
|
| 134 |
+ <div id="sip-logitems" class="list-group"> |
|
| 135 |
+ <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 136 |
+ </div> |
|
| 137 |
+ </div> |
|
| 138 |
+ </div> |
|
| 139 |
+ |
|
| 140 |
+ <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 141 |
+ <div class="modal-dialog modal-sm"> |
|
| 142 |
+ <div class="modal-content"> |
|
| 143 |
+ <div class="modal-header"> |
|
| 144 |
+ <h4 class="modal-title">Sip Error</h4> |
|
| 145 |
+ </div> |
|
| 146 |
+ <div class="modal-body text-center text-danger"> |
|
| 147 |
+ <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 148 |
+ <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 149 |
+ </div> |
|
| 150 |
+ </div> |
|
| 151 |
+ </div> |
|
| 152 |
+ </div> |
|
| 153 |
+ |
|
| 154 |
+</div> |
|
| 155 |
+ |
|
| 156 |
+<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 157 |
+<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 158 |
+<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 159 |
+ |
|
| 160 |
+<video id="audioRemote"></video> |
|
| 161 |
+<video id="audioLocal"></video> |
|
| 162 |
+ |
|
| 163 |
+</body> |
|
| 164 |
+</html> |
| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,164 +0,0 @@ |
| 1 |
-<!-- |
|
| 2 |
- @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
- |
|
| 4 |
- @author Double Bastion LLC |
|
| 5 |
- |
|
| 6 |
- @license GNU AGPL version 3 or any later version |
|
| 7 |
- |
|
| 8 |
- This program is free software; you can redistribute it and/or |
|
| 9 |
- modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
- License as published by the Free Software Foundation; either |
|
| 11 |
- version 3 of the License, or any later version. |
|
| 12 |
- |
|
| 13 |
- This program is distributed in the hope that it will be useful, |
|
| 14 |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
- GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
- |
|
| 18 |
- You should have received a copy of the GNU Affero General Public |
|
| 19 |
- License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
- |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 |
- This is a modified version of the original file "index.html". |
|
| 24 |
- |
|
| 25 |
- We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
- which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
- The MIT License (MIT) |
|
| 30 |
- |
|
| 31 |
- Copyright (c) 2014 Collecttix |
|
| 32 |
- |
|
| 33 |
- Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
- of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
- in the Software without restriction, including without limitation the rights |
|
| 36 |
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
- copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
- furnished to do so, subject to the following conditions: |
|
| 39 |
- |
|
| 40 |
- The above copyright notice and this permission notice shall be included in |
|
| 41 |
- all copies or substantial portions of the Software. |
|
| 42 |
- |
|
| 43 |
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
- THE SOFTWARE. |
|
| 50 |
- |
|
| 51 |
-<!DOCTYPE html> |
|
| 52 |
-<html lang="en"> |
|
| 53 |
- |
|
| 54 |
-<head> |
|
| 55 |
- <meta charset="utf-8" /> |
|
| 56 |
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 57 |
- <title>SIP Trip Phone</title> |
|
| 58 |
- <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 59 |
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 60 |
- <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 61 |
- <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 62 |
- |
|
| 63 |
- <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 64 |
- <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 65 |
- <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 66 |
- <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 67 |
- <script type="text/javascript" src="scripts/app.js"></script> |
|
| 68 |
- |
|
| 69 |
-</head> |
|
| 70 |
-<body id="sipClient"> |
|
| 71 |
-<div class="container-fluid"> |
|
| 72 |
- |
|
| 73 |
- <div class="clearfix sipStatus"> |
|
| 74 |
- <div id="txtCallStatus" class="pull-right"> </div> |
|
| 75 |
- <div id="txtRegStatus"></div> |
|
| 76 |
- </div> |
|
| 77 |
- |
|
| 78 |
- <div class="form-group" id="phoneUI"> |
|
| 79 |
- <div class="input-group"> |
|
| 80 |
- <div class="input-group-btn"> |
|
| 81 |
- <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 82 |
- <i class="fa fa-th"></i> |
|
| 83 |
- </button> |
|
| 84 |
- <div id="sip-dialpad" class="dropdown-menu"> |
|
| 85 |
- <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 86 |
- <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 87 |
- <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 88 |
- <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 89 |
- <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 90 |
- <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 91 |
- <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 92 |
- <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 93 |
- <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 94 |
- <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 95 |
- <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 96 |
- <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 97 |
- <div class="clearfix"> </div> |
|
| 98 |
- <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 99 |
- <i class="fa fa-play"></i> Call |
|
| 100 |
- </button> |
|
| 101 |
- </div> |
|
| 102 |
- </div> |
|
| 103 |
- <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 104 |
- <div class="input-group-btn input-group-btn-sm"> |
|
| 105 |
- <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 106 |
- <i class="fa fa-fw fa-volume-up"></i> |
|
| 107 |
- </button> |
|
| 108 |
- <div class="dropdown-menu dropdown-menu-right"> |
|
| 109 |
- <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 110 |
- </div> |
|
| 111 |
- </div> |
|
| 112 |
- </div> |
|
| 113 |
- </div> |
|
| 114 |
- |
|
| 115 |
- <div class="well-sip"> |
|
| 116 |
- <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 117 |
- <div class="panel-body"> |
|
| 118 |
- <h3 class="page-header"> |
|
| 119 |
- <span class="fa-stack fa-2x"> |
|
| 120 |
- <i class="fa fa-circle fa-stack-2x text-success"></i> |
|
| 121 |
- <i class="fa fa-phone fa-stack-1x fa-inverse"></i> |
|
| 122 |
- </span><br> |
|
| 123 |
- SIP Trip Phone</h3> |
|
| 124 |
- <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 125 |
- You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 126 |
- </div> |
|
| 127 |
- </div> |
|
| 128 |
- |
|
| 129 |
- <div id="sip-log" class="panel panel-default hide"> |
|
| 130 |
- <div class="panel-heading"> |
|
| 131 |
- <h4 class="text-muted panel-title">Recent Calls <span class="pull-right"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 132 |
- </div> |
|
| 133 |
- <div id="sip-logitems" class="list-group"> |
|
| 134 |
- <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 135 |
- </div> |
|
| 136 |
- </div> |
|
| 137 |
- </div> |
|
| 138 |
- |
|
| 139 |
- <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 140 |
- <div class="modal-dialog modal-sm"> |
|
| 141 |
- <div class="modal-content"> |
|
| 142 |
- <div class="modal-header"> |
|
| 143 |
- <h4 class="modal-title">Sip Error</h4> |
|
| 144 |
- </div> |
|
| 145 |
- <div class="modal-body text-center text-danger"> |
|
| 146 |
- <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 147 |
- <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 148 |
- </div> |
|
| 149 |
- </div> |
|
| 150 |
- </div> |
|
| 151 |
- </div> |
|
| 152 |
- |
|
| 153 |
-</div> |
|
| 154 |
- |
|
| 155 |
-<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 156 |
-<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 157 |
-<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 158 |
- |
|
| 159 |
-<video id="audioRemote"></video> |
|
| 160 |
-<video id="audioLocal"></video> |
|
| 161 |
- |
|
| 162 |
-</body> |
|
| 163 |
-</html> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,164 @@ |
| 1 |
+<!-- |
|
| 2 |
+ @copyright 2021 Double Bastion LLC <www.doublebastion.com> |
|
| 3 |
+ |
|
| 4 |
+ @author Double Bastion LLC |
|
| 5 |
+ |
|
| 6 |
+ @license GNU AGPL version 3 or any later version |
|
| 7 |
+ |
|
| 8 |
+ This program is free software; you can redistribute it and/or |
|
| 9 |
+ modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |
|
| 10 |
+ License as published by the Free Software Foundation; either |
|
| 11 |
+ version 3 of the License, or any later version. |
|
| 12 |
+ |
|
| 13 |
+ This program is distributed in the hope that it will be useful, |
|
| 14 |
+ but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 15 |
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 16 |
+ GNU AFFERO GENERAL PUBLIC LICENSE for more details. |
|
| 17 |
+ |
|
| 18 |
+ You should have received a copy of the GNU Affero General Public |
|
| 19 |
+ License along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+ This is a modified version of the original file "index.html". |
|
| 24 |
+ |
|
| 25 |
+ We list below the copyright notice of the ctxSip phone (https://github.com/collecttix/ctxSip) |
|
| 26 |
+ which also applies to the original "index.html" file, which was part of it: |
|
| 27 |
+ |
|
| 28 |
+ |
|
| 29 |
+ The MIT License (MIT) |
|
| 30 |
+ |
|
| 31 |
+ Copyright (c) 2014 Collecttix |
|
| 32 |
+ |
|
| 33 |
+ Permission is hereby granted, free of charge, to any person obtaining a copy |
|
| 34 |
+ of this software and associated documentation files (the "Software"), to deal |
|
| 35 |
+ in the Software without restriction, including without limitation the rights |
|
| 36 |
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|
| 37 |
+ copies of the Software, and to permit persons to whom the Software is |
|
| 38 |
+ furnished to do so, subject to the following conditions: |
|
| 39 |
+ |
|
| 40 |
+ The above copyright notice and this permission notice shall be included in |
|
| 41 |
+ all copies or substantial portions of the Software. |
|
| 42 |
+ |
|
| 43 |
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|
| 44 |
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|
| 45 |
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|
| 46 |
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|
| 47 |
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|
| 48 |
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
|
| 49 |
+ THE SOFTWARE. |
|
| 50 |
+--> |
|
| 51 |
+ |
|
| 52 |
+<!DOCTYPE html> |
|
| 53 |
+<html lang="en"> |
|
| 54 |
+ |
|
| 55 |
+<head> |
|
| 56 |
+ <meta charset="utf-8" /> |
|
| 57 |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> |
|
| 58 |
+ <title>SIP Trip Phone</title> |
|
| 59 |
+ <link rel="icon" type="image/gif" href="img/favicon.ico" /> |
|
| 60 |
+ <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> |
|
| 61 |
+ <link rel="stylesheet" type="text/css" href="css/font-awesome-4.7.0/css/font-awesome.min.css" /> |
|
| 62 |
+ <link rel="stylesheet" type="text/css" href="css/ctxSip.css" /> |
|
| 63 |
+ |
|
| 64 |
+ <script type="text/javascript" src="scripts/jquery-1.11.3.min.js"></script> |
|
| 65 |
+ <script type="text/javascript" src="scripts/bootstrap.min.js"></script> |
|
| 66 |
+ <script type="text/javascript" src="scripts/moment.min.js"></script> |
|
| 67 |
+ <script type="text/javascript" src="scripts/SIP.js/sip.min.js"></script> |
|
| 68 |
+ <script type="text/javascript" src="scripts/app.js"></script> |
|
| 69 |
+ |
|
| 70 |
+</head> |
|
| 71 |
+<body id="sipClient"> |
|
| 72 |
+<div class="container-fluid"> |
|
| 73 |
+ |
|
| 74 |
+ <div class="clearfix sipStatus"> |
|
| 75 |
+ <div id="txtCallStatus" class="pull-right"> </div> |
|
| 76 |
+ <div id="txtRegStatus"></div> |
|
| 77 |
+ </div> |
|
| 78 |
+ |
|
| 79 |
+ <div class="form-group" id="phoneUI"> |
|
| 80 |
+ <div class="input-group"> |
|
| 81 |
+ <div class="input-group-btn"> |
|
| 82 |
+ <button id="dropDownButton" class="btn btn-sm btn-primary dropdown-toggle" data-toggle="dropdown" title="Show Keypad"> |
|
| 83 |
+ <i class="fa fa-th"></i> |
|
| 84 |
+ </button> |
|
| 85 |
+ <div id="sip-dialpad" class="dropdown-menu"> |
|
| 86 |
+ <button type="button" class="btn btn-default digit" data-digit="1">1<span> </span></button> |
|
| 87 |
+ <button type="button" class="btn btn-default digit" data-digit="2,A,B,C">2<span>ABC</span></button> |
|
| 88 |
+ <button type="button" class="btn btn-default digit" data-digit="3,D,E,F">3<span>DEF</span></button> |
|
| 89 |
+ <button type="button" class="btn btn-default digit" data-digit="4,G,H,I">4<span>GHI</span></button> |
|
| 90 |
+ <button type="button" class="btn btn-default digit" data-digit="5,J,K,L">5<span>JKL</span></button> |
|
| 91 |
+ <button type="button" class="btn btn-default digit" data-digit="6,M,N,O">6<span>MNO</span></button> |
|
| 92 |
+ <button type="button" class="btn btn-default digit" data-digit="7,P,Q,R,S">7<span>PQRS</span></button> |
|
| 93 |
+ <button type="button" class="btn btn-default digit" data-digit="8,T,U,V">8<span>TUV</span></button> |
|
| 94 |
+ <button type="button" class="btn btn-default digit" data-digit="9,W,X,Y,Z">9<span>WXYZ</span></button> |
|
| 95 |
+ <button type="button" class="btn btn-default digit" data-digit="*">*<span> </span></button> |
|
| 96 |
+ <button type="button" class="btn btn-default digit" data-digit="0,+">0<span>+</span></button> |
|
| 97 |
+ <button type="button" class="btn btn-default digit" data-digit="#">#<span> </span></button> |
|
| 98 |
+ <div class="clearfix"> </div> |
|
| 99 |
+ <button id="callButton" class="btn btn-success btn-block btnCall" title="Send"> |
|
| 100 |
+ <i class="fa fa-play"></i> Call |
|
| 101 |
+ </button> |
|
| 102 |
+ </div> |
|
| 103 |
+ </div> |
|
| 104 |
+ <input type="text" name="number" id="numDisplay" class="form-control text-center input-sm" value="" placeholder="Enter number..." autocomplete="off" /> |
|
| 105 |
+ <div class="input-group-btn input-group-btn-sm"> |
|
| 106 |
+ <button class="btn btn-sm btn-primary dropdown-toggle" id="btnVol" data-toggle="dropdown" title="Volume"> |
|
| 107 |
+ <i class="fa fa-fw fa-volume-up"></i> |
|
| 108 |
+ </button> |
|
| 109 |
+ <div class="dropdown-menu dropdown-menu-right"> |
|
| 110 |
+ <input type="range" min="0" max="100" value="100" step="1" id="sldVolume" /> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+ </div> |
|
| 114 |
+ </div> |
|
| 115 |
+ |
|
| 116 |
+ <div class="well-sip"> |
|
| 117 |
+ <div id="sip-splash" class="text-muted text-center panel panel-default"> |
|
| 118 |
+ <div class="panel-body"> |
|
| 119 |
+ <h3 class="page-header"> |
|
| 120 |
+ <span class="fa-stack fa-2x"> |
|
| 121 |
+ <i class="fa fa-circle fa-stack-2x text-success"></i> |
|
| 122 |
+ <i class="fa fa-phone fa-stack-1x fa-inverse"></i> |
|
| 123 |
+ </span><br> |
|
| 124 |
+ SIP Trip Phone</h3> |
|
| 125 |
+ <p class="lead">To make a call click on the button in the upper-left corner, enter a phone number, then press 'Call'. |
|
| 126 |
+ You can also use your keyboard to enter phone numbers and press 'Enter' to make calls.</p> |
|
| 127 |
+ </div> |
|
| 128 |
+ </div> |
|
| 129 |
+ |
|
| 130 |
+ <div id="sip-log" class="panel panel-default hide"> |
|
| 131 |
+ <div class="panel-heading"> |
|
| 132 |
+ <h4 class="text-muted panel-title">Recent Calls <span class="pull-right"><i class="fa fa-trash text-muted sipLogClear" title="Clear Log"></i></span></h4> |
|
| 133 |
+ </div> |
|
| 134 |
+ <div id="sip-logitems" class="list-group"> |
|
| 135 |
+ <p class="text-muted text-center">No recent calls from this browser.</p> |
|
| 136 |
+ </div> |
|
| 137 |
+ </div> |
|
| 138 |
+ </div> |
|
| 139 |
+ |
|
| 140 |
+ <div class="modal fade" id="mdlError" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" data-keyboard="false"> |
|
| 141 |
+ <div class="modal-dialog modal-sm"> |
|
| 142 |
+ <div class="modal-content"> |
|
| 143 |
+ <div class="modal-header"> |
|
| 144 |
+ <h4 class="modal-title">Sip Error</h4> |
|
| 145 |
+ </div> |
|
| 146 |
+ <div class="modal-body text-center text-danger"> |
|
| 147 |
+ <h3><i class="fa fa-3x fa-ban"></i></h3> |
|
| 148 |
+ <p class="lead">Sip registration failed. No calls can be handled.</p> |
|
| 149 |
+ </div> |
|
| 150 |
+ </div> |
|
| 151 |
+ </div> |
|
| 152 |
+ </div> |
|
| 153 |
+ |
|
| 154 |
+</div> |
|
| 155 |
+ |
|
| 156 |
+<audio id="ringtone" src="sounds/incoming.mp3" loop></audio> |
|
| 157 |
+<audio id="ringbacktone" src="sounds/outgoing.mp3" loop></audio> |
|
| 158 |
+<audio id="dtmfTone" src="sounds/dtmf.mp3"></audio> |
|
| 159 |
+ |
|
| 160 |
+<video id="audioRemote"></video> |
|
| 161 |
+<video id="audioLocal"></video> |
|
| 162 |
+ |
|
| 163 |
+</body> |
|
| 164 |
+</html> |