[asterisk] Add websocket support to softphones (for WebRTC)

This commit is contained in:
Correl Roush 2024-12-06 10:44:16 -05:00
parent 066f8834cd
commit f5668e339d

View file

@ -8,6 +8,12 @@ type=transport
protocol=tcp protocol=tcp
bind=0.0.0.0 bind=0.0.0.0
[transport-wss]
type=transport
protocol=wss
bind=0.0.0.0
; Correl's main extension
[100] [100]
type=endpoint type=endpoint
context=from-internal context=from-internal
@ -31,11 +37,14 @@ max_contacts=1
; this set. ; this set.
remove_existing=yes remove_existing=yes
; Correl's softphone extension
[101] [101]
type=endpoint type=endpoint
context=from-internal context=from-internal
dtls_auto_generate_cert=yes
webrtc=yes
disallow=all disallow=all
allow=ulaw allow=opus,ulaw
auth=101 auth=101
aors=101 aors=101
mailboxes=100@sailmaker mailboxes=100@sailmaker
@ -48,7 +57,7 @@ username=101
[101] [101]
type=aor type=aor
max_contacts=1 max_contacts=5
remove_existing=yes remove_existing=yes
[102] [102]