webrtc leg · 202-web · wss 8089 · v2026.08.26.18

Browser softphone

Registers to Asterisk over secure websockets so WhatsApp Calling API calls ring here. Dial 8-prefixed numbers for the Meta SIP trunk, 9-prefixed for the Windows gateway trunk.

state: idle

SIP account

The password is kept in memory only — it is never written to browser storage.

Audio routing

Far end is playing out of Auto physical speaker (auto-pick pending).

Active path: normal PC — every call uses the local microphone and selected Windows speaker/headset. This build does not require VB-Audio cables and avoids Windows Default when a named Realtek/headset speaker is visible.

Call control

mic out (tx)
far end in (rx)
call audio stays in this browser tab
calls from zoiper ring in this tab only
zoiper calls are dialled straight back out through the trunk
calls follow the normal gateway flow
verdicts come from the stored answer key and are pushed to the quizmaster — it cannot say "correct" for an answer we did not hear

no quiz loaded — generate one to enable quiz divert

status: idleagent audio

if you hear nothing, pick your headphones/speakers above — the system default is usually CABLE-B on this machine, which sends the quizmaster into the gateway instead of your ears

one caller at a time; extra callers get busy

Signalling log

gateway log