-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
30 lines (30 loc) · 1.14 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VoIP Assistant with SIP</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="app">
<h1>VoIP Assistant with SIP</h1>
<div id="sip-config">
<h2>SIP Configuration</h2>
<input type="text" id="sip-server" placeholder="SIP Server (e.g., sip:example.com)">
<input type="text" id="sip-username" placeholder="SIP Username">
<input type="password" id="sip-password" placeholder="SIP Password">
<input type="text" id="sip-display-name" placeholder="Display Name (optional)">
<button id="connect-btn">Connect to SIP Server</button>
</div>
<div id="call-controls">
<input type="text" id="remote-uri" placeholder="Remote SIP URI">
<button id="call-btn" disabled>Start Call</button>
<button id="hangup-btn" disabled>End Call</button>
</div>
<!-- Rest of the HTML remains the same -->
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sip.min.js"></script>
<script src="popup.js"></script>
</body>
</html>