2
0

index.html 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1">
  5. <link rel="stylesheet" href="css/jquery.mobile.min.css"/>
  6. <link rel="stylesheet" type="text/css" href="css/jsontable.css" />
  7. <link rel="shortcut icon" href="favicon.ico" />
  8. <meta charset="utf-8" />
  9. <title>FreeSWITCH Verto&trade; Demo</title>
  10. <style type="text/css">
  11. .pageheader {
  12. font-size: 22px;
  13. font-weight: normal;
  14. height: 27px;
  15. }
  16. .ctlbtn {
  17. border: 0px;
  18. color: #eeeeee;
  19. background-color: #0000ae;
  20. font-face: arial;
  21. height:18px;
  22. font-size:7pt;
  23. }
  24. .ctlbtn:hover {
  25. color: #ffffae;
  26. cursor: pointer;
  27. }
  28. #chatwin
  29. {
  30. background-color: #eeeeee;
  31. width: 500px;
  32. height:150px;
  33. overflow-y: scroll;
  34. scrolling: auto;
  35. text-align: left;
  36. border-style:inset;
  37. font-size: 10pt;
  38. color: #3333ff;
  39. resize:both;
  40. }
  41. .chatuid
  42. {
  43. font-size: 7pt;
  44. font-weight: bold;
  45. color: #ff3333;
  46. }
  47. .chatimg
  48. {
  49. max-width:100px;
  50. }
  51. .l1
  52. {
  53. border:1;
  54. background-color:#fefefe;
  55. height:1px;
  56. opacity:0.4;
  57. }
  58. #chatmsg
  59. {
  60. width:400px;
  61. max-height:40px;
  62. }
  63. </style>
  64. </head>
  65. <body>
  66. <div data-role="page" id="page-login" align="center">
  67. <div data-role="header" class="page-header">
  68. FreeSWITCH Verto&trade; Demo
  69. </div>
  70. </div>
  71. <div data-role="page" id="page-incall" align="center">
  72. <div data-role="header" id="calltitle" class="pageheader">
  73. Verto&trade; IN CALL
  74. </div>
  75. <br>
  76. <a target="_CC2104" href="https://www.cluecon.com"><img border="0" width="300" src="img/cc_banner.gif"></a>
  77. <br><br>
  78. <div id="conf">
  79. <div style="color:black;font-family: verdana" align="center" id="conf_count"></div>
  80. <table width="800" cellspacing="0" cellpadding="0" border="0" align="center" id="conf_list" class="jsDataTable">
  81. </table>
  82. </div>
  83. <br>
  84. <div id="message" hidden="true">
  85. <hr class="l1" width="500"/>
  86. <div id="chatwin"></div>
  87. <!-- <textarea readonly id="chatwin"></textarea>-->
  88. <table><tr><td><textarea id="chatmsg"></textarea></td><td><button id="chatsend" style="width:100px;">Send</button></td></tr></table>
  89. <hr class="l1" width="500"/><br>
  90. </div>
  91. <div class="ui-field-contain" id="xferdiv">
  92. <input data-mini="true" type="text" id="xferto"><br>
  93. <button data-inline="true" id="cancelxferbtn">Cancel Transfer</button>
  94. <button data-inline="true" class="startxferbtn">Complete Transfer</button>
  95. </div>
  96. <div id=keypad>
  97. <button class="dtmf" data-inline="true">1</button>
  98. <button class="dtmf" data-inline="true">2</button>
  99. <button class="dtmf" data-inline="true">3</button>
  100. <br>
  101. <button class="dtmf" data-inline="true">4</button>
  102. <button class="dtmf" data-inline="true">5</button>
  103. <button class="dtmf" data-inline="true">6</button>
  104. <br>
  105. <button class="dtmf" data-inline="true">7</button>
  106. <button class="dtmf" data-inline="true">8</button>
  107. <button class="dtmf" data-inline="true">9</button>
  108. <br>
  109. <button class="dtmf" data-inline="true">*</button>
  110. <button class="dtmf" data-inline="true">0</button>
  111. <button class="dtmf" data-inline="true">#</button>
  112. </div>
  113. <div id="conf_mod"></div>
  114. <div style="color:blue" id="conf_display"></div>
  115. <button data-inline="true" id="hold">HOLD</button>
  116. <button data-inline="true" id="hupbtn">End Call</button>
  117. <button data-inline="true" class="startxferbtn">Transfer</button>
  118. <br><br>
  119. <img src="img/verto_black_web.gif" width="300"><br><br>
  120. <div id="media">
  121. <video width=800 id="webcam" autoplay="autoplay" hidden="true"></video>
  122. </div>
  123. <br><br>
  124. </div>
  125. <div data-role="page" id="page-main" align="center">
  126. <div data-role="header" class="pageheader">
  127. FreeSWITCH Verto&trade; Demo
  128. </div>
  129. <br>
  130. <a target="_CC2104" href="https://www.cluecon.com"><img border="0" width="300" src="img/cc_banner.gif"></a>
  131. <div id="offline">
  132. <div id="errordisplay" style="font-weight:bold;font-size:18px;color:#ae0000"></div>
  133. <div class="ui-field-contain">
  134. <label for="name">Login</label>
  135. <input type="text" size="20" id="login"/>
  136. </div>
  137. <div class="ui-field-contain">
  138. <label for="name">Password</label>
  139. <input type="password" size="20" id="passwd"/>
  140. </div>
  141. <div class="ui-field-contain">
  142. <label for="name">CID Name</label>
  143. <input type="text" size="30" id="name"/>
  144. </div>
  145. <div class="ui-field-contain">
  146. <label for="name">CID Number</label>
  147. <input type="text" size="20" id="cid"/>
  148. </div>
  149. <div class="ui-field-contain">
  150. <label for="name">Hostname</label>
  151. <input type="text" size="20" id="hostName"/>
  152. </div>
  153. <div class="ui-field-contain">
  154. <label for="name">Websocket URL</label>
  155. <input type="text" size="20" id="wsURL"/>
  156. </div>
  157. <br><br>
  158. <img src="img/verto_black_web.gif" width="300">
  159. <br><br>
  160. <button data-inline="true" id="loginbtn">Log In</button>
  161. <br><br><br>
  162. </div>
  163. <div id="online" align="center" style="width:600px">
  164. <div class="ui-field-contain">
  165. <input type="text" id="ext"/><br>
  166. <div id="dialpad">
  167. <button class="dialbtn" data-inline="true">1</button>
  168. <button class="dialbtn" data-inline="true">2</button>
  169. <button class="dialbtn" data-inline="true">3</button>
  170. <br>
  171. <button class="dialbtn" data-inline="true">4</button>
  172. <button class="dialbtn" data-inline="true">5</button>
  173. <button class="dialbtn" data-inline="true">6</button>
  174. <br>
  175. <button class="dialbtn" data-inline="true">7</button>
  176. <button class="dialbtn" data-inline="true">8</button>
  177. <button class="dialbtn" data-inline="true">9</button>
  178. <br>
  179. <button class="dialbtn" data-inline="true">*</button>
  180. <button class="dialbtn" data-inline="true">0</button>
  181. <button class="dialbtn" data-inline="true">#</button>
  182. </div>
  183. <button data-inline="true" id="clearbtn">Clear</button>
  184. <button data-inline="true" id="callbtn">Call</button>
  185. <br><br>
  186. <div style="color:blue" id="main_info">&nbsp;</div><br><br>
  187. <img src="img/verto_black_web.gif" width="300"><br><br>
  188. <button data-inline="true"id="logoutbtn">Log Out</button>
  189. </div>
  190. <br>
  191. <label><input id="use_vid" type="checkbox" value="foo" > Use Video</label>
  192. <label><input id="use_stereo" type="checkbox" value="foo" > Stereo Audio</label>
  193. <label><input id="use_stun" type="checkbox" value="foo" > Use STUN</label>
  194. <br>
  195. <!--
  196. <b>TEXT</b><br>To: <input type="text" size="20" id="textto"/> MSG: <input type="text" size="40" id="textmsg"/>
  197. <button id="vtxtbtn">Send</button>
  198. -->
  199. </div>
  200. <table id="directory" width=500 style="font-size:11pt;font-face:arial">
  201. <tr><td align=center colspan=2><b>FreeSWITCH VERTO&trade; WebRTC Demo Directory<Br><br></td></tr>
  202. <tr><td width=100><b>Dial</b></td><td><b>Desc</b></td></tr>
  203. <tr><td align=left colspan=2><hr></td></tr>
  204. <tr><td>3d1</td><td> 3D sound demo #1</td></tr>
  205. <tr><td>3d2</td><td> 3D sound demo #2</td></tr>
  206. <tr><td>stereo1</td><td> Stereo sound demo #1</td></tr>
  207. <tr><td>stereo2</td><td> Stereo sound demo #2</td></tr>
  208. <tr><td>stereo3</td><td> Stereo sound demo #3</td></tr>
  209. <tr><td>3500</td><td>Local 48k Stereo Conference</td></tr>
  210. <tr><td>&nbsp;</td></tr>
  211. <tr><td>cluecon</td><td> ClueCon Hotline</td></tr>
  212. <tr><td>&lt;number&gt;</td><td>Call a US/Canda Number</td></tr>
  213. <tr><td>vuc</td><td>VoIP Users Conference</td></tr>
  214. <tr><td>888</td><td>FreeSWITCH Community Conference</td></tr>
  215. <tr><td>3300</td><td>Local 48k Conference</td></tr>
  216. <tr><td>5000</td><td>Try the Demo IVR</td></tr>
  217. <tr><td>9664</td><td>Listen to Hold Music</td></tr>
  218. <tr><td>9386</td><td>Funny Prompts</td></tr>
  219. <tr><td>9198</td><td>Tetris (tone generator)</td></tr>
  220. <tr><td colspan=2><Br>
  221. <center>
  222. <br><br><br>
  223. </td></tr>
  224. </td></tr>
  225. </table>
  226. </div><!-- /page -->
  227. <div data-role="page" id="dialog-logout" data-close-btn="none">
  228. <div data-role="header">
  229. <h2>Logged Out</h2>
  230. </div>
  231. <div data-role="content">
  232. <p>You have been logged out or disconnected from the server.</p>
  233. <button onclick="$('#dialog-logout').dialog('close')">OK</button>
  234. </div>
  235. </div>
  236. <div data-role="page" id="dialog-login-error" data-close-btn="none">
  237. <div data-role="header">
  238. <h2>Login Error</h2>
  239. </div>
  240. <div data-role="content">
  241. <p>Error logging in</p>
  242. <button onclick="$('#dialog-login-error').dialog('close')">OK</button>
  243. </div>
  244. </div>
  245. <div data-role="page" id="dialog-hold" data-close-btn="none">
  246. <div data-role="header">
  247. <h2>Call On hold</h2>
  248. </div>
  249. <div data-role="content">
  250. <p>The call is on hold</p>
  251. <button onclick="$('#dialog-hold').dialog('close');cur_call.toggleHold();">Resume Call</button>
  252. </div>
  253. </div>
  254. <div data-role="page" id="dialog-incoming-call" data-close-btn="none">
  255. <div data-role="header">
  256. <h2>Incoming Call</h2>
  257. </div>
  258. <div data-role="content">
  259. <div id="dialog-incoming-call-txt"><p>Incoming Call</p></div>
  260. <button id="ansbtn">Answer</button>
  261. <div id="vansdiv"><button id="vansbtn">Answer Video</button></div>
  262. <button id="declinebtn">Decline</button>
  263. </div>
  264. </div>
  265. <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
  266. <script type="text/javascript" src="js/jquery.mobile.min.js"></script>
  267. <script type="text/javascript" src="js/jquery.json-2.4.min.js"></script>
  268. <script type="text/javascript" src="js/jquery.cookie.js"></script>
  269. <script type="text/javascript" src="js/jquery.dataTables.min.js"></script>
  270. <script type="text/javascript" src="js/verto-min.js"></script>
  271. <script type="text/javascript" src="verto.js"></script>
  272. </body>
  273. </html>