|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<title>Document</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<script src="simplesipsdk.js"></script>
|
|
|
|
<script src="keypad.js"></script>
|
|
|
|
<link rel="stylesheet" href="keypad_style.css" />
|
|
|
|
<style>
|
|
|
|
#painelChamadas {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: start;
|
|
|
|
align-items: start;
|
|
|
|
gap: 20px;
|
|
|
|
margin-right: 30px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
#painelAgentes {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: start;
|
|
|
|
align-items: start;
|
|
|
|
margin-right: 30px;
|
|
|
|
gap: 20px;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
body {
|
|
|
|
background-color: white;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<div id="painelChamadas">
|
|
|
|
<h3>Painel de Controle de Chamadas</h3>
|
|
|
|
<button id="home">Tela home principal</button>
|
|
|
|
<button id="outgoingcall">Tela outgoingcall</button>
|
|
|
|
<button id="incall">Tela inCall</button>
|
|
|
|
<button id="incomingcall">Tela incomingcall</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="painelAgentes">
|
|
|
|
<h3>Painel de Controle de Agentes</h3>
|
|
|
|
<button id="online">Agente online</button>
|
|
|
|
<button id="busy">Agente ocupado</button>
|
|
|
|
<button id="away">Agente ausente</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
const configuracao = UASimplesIP.config;
|
|
|
|
configuracao.PROTOCOLO = "ws";
|
|
|
|
configuracao.SERVIDOR = "129.148.58.190";
|
|
|
|
configuracao.PORTA = "8088";
|
|
|
|
configuracao.NOME = "MATHEO BONUCIA";
|
|
|
|
configuracao.RAMAL = "1000";
|
|
|
|
configuracao.SENHA = "123";
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|