Browser softphone and mobile clients through port 443 only (no exposed SIP) #23
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jonasled/openpbx#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Done: softphone in the web UI (call, answer, mute, hold, transfer, DTMF). Signalling goes through an authenticated websocket proxy and media through a built-in TURN server on the same port as HTTPS; relaying is restricted to the Asterisk address(es).
Tested: two real Chromium instances calling each other with
iceTransportPolicy: relaythrough the single published port, audio received on both sides (SOFTPHONE=1 test/integration.sh, plain HTTP on localhost). HTTPS + TURN-over-TLS on one port is covered by a separate Go test; a browser against a real TLS certificate was not tested. Mute, hold, transfer and DTMF have no test.Requirements: OpenPBX must terminate TLS itself (or the reverse proxy must pass TCP through), because a plain HTTP reverse proxy cannot forward TURN. With host-networked Asterisk, authenticated users can relay UDP to other services on that same host address. Native mobile apps are tracked in #33; mobile browsers use this softphone but get no push calls in the background.