[asterisk] Add websocket support to softphones (for WebRTC)
This commit is contained in:
parent
066f8834cd
commit
f5668e339d
1 changed files with 11 additions and 2 deletions
|
@ -8,6 +8,12 @@ type=transport
|
|||
protocol=tcp
|
||||
bind=0.0.0.0
|
||||
|
||||
[transport-wss]
|
||||
type=transport
|
||||
protocol=wss
|
||||
bind=0.0.0.0
|
||||
|
||||
; Correl's main extension
|
||||
[100]
|
||||
type=endpoint
|
||||
context=from-internal
|
||||
|
@ -31,11 +37,14 @@ max_contacts=1
|
|||
; this set.
|
||||
remove_existing=yes
|
||||
|
||||
; Correl's softphone extension
|
||||
[101]
|
||||
type=endpoint
|
||||
context=from-internal
|
||||
dtls_auto_generate_cert=yes
|
||||
webrtc=yes
|
||||
disallow=all
|
||||
allow=ulaw
|
||||
allow=opus,ulaw
|
||||
auth=101
|
||||
aors=101
|
||||
mailboxes=100@sailmaker
|
||||
|
@ -48,7 +57,7 @@ username=101
|
|||
|
||||
[101]
|
||||
type=aor
|
||||
max_contacts=1
|
||||
max_contacts=5
|
||||
remove_existing=yes
|
||||
|
||||
[102]
|
||||
|
|
Loading…
Reference in a new issue