Add browser-based phone calling to any website with a single script tag. Powered by SIP.js and Asterisk.
<!-- Add this to any webpage -->
<script src="https://phone.supported.systems/widget.js"
data-server="wss://sip.supported.systems/ws"
data-extension="100"
data-password="your-password"
data-realm="sip.supported.systems"
data-display-name="Support Line">
</script>
DTLS-SRTP encryption for all media, WSS for signaling
Built-in STUN/TURN support for reliable connectivity
Light/dark themes, position options, and CSS overrides
Responsive design works on phones and tablets
JavaScript API for programmatic control
Support for different realms and extensions
WebSocket URL for SIP signaling. Use wss:// for secure connections. Example: wss://sip.example.com:8089/ws
SIP extension number to register as. This is the "username" for authentication.
SIP password for the extension. Keep this secure!
SIP realm/domain for authentication. Usually matches your SIP domain.
Caller ID name shown in the widget header and sent to called parties.
Widget position: bottom-right (default), bottom-left, top-right, or top-left.
Color theme: dark (default) or light. CSS variables can override colors.
Set to "false" to prevent automatic registration on page load.
// Make a call programmatically
AsterPBXPhone.call('5551234567');
// Hang up current call
AsterPBXPhone.hangup();
// Toggle mute
AsterPBXPhone.mute();
// Toggle hold
AsterPBXPhone.hold();
// Check registration status
if (AsterPBXPhone.isRegistered()) {
console.log('Phone is ready');
}
// Check if currently in a call
if (AsterPBXPhone.isInCall()) {
console.log('Call in progress');
}
The widget is active in the bottom-right corner. Click to expand and make a call!