Configure the kitchen intercom
This commit is contained in:
parent
4200dfdedd
commit
3389f0d4a6
5 changed files with 49 additions and 1 deletions
|
@ -13,6 +13,28 @@ type=transport
|
|||
protocol=wss
|
||||
bind=0.0.0.0
|
||||
|
||||
[1]
|
||||
type=endpoint
|
||||
context=from-internal
|
||||
dtls_auto_generate_cert=yes
|
||||
webrtc=yes
|
||||
disallow=all
|
||||
allow=opus,ulaw
|
||||
auth=1
|
||||
aors=1
|
||||
mailboxes=436@sailmaker
|
||||
|
||||
[1]
|
||||
type=auth
|
||||
auth_type=userpass
|
||||
password=kqLOkwpI89Yo6S2e0rvcH7Aha
|
||||
username=1
|
||||
|
||||
[1]
|
||||
type=aor
|
||||
max_contacts=5
|
||||
remove_existing=yes
|
||||
|
||||
; Correl's main extension
|
||||
[100]
|
||||
type=endpoint
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "Kitchen",
|
||||
"websocket": "wss://pbx.sailmaker.fenix.lgbt/ws",
|
||||
"domain": "192.168.1.21",
|
||||
"username": "1",
|
||||
"password": "kqLOkwpI89Yo6S2e0rvcH7Aha",
|
||||
"voicemail": "*436",
|
||||
"contacts": [
|
||||
{
|
||||
"name": "Correl",
|
||||
"number": "100"
|
||||
},
|
||||
{
|
||||
"name": "Test",
|
||||
"number": "700"
|
||||
}
|
||||
]
|
||||
}
|
|
@ -3,6 +3,9 @@
|
|||
name: apache2
|
||||
update_cache: true
|
||||
state: latest
|
||||
- name: Enable Apache2 Header mod
|
||||
community.general.apache2_module:
|
||||
name: headers
|
||||
- name: Start Apache2 HTTP server
|
||||
ansible.builtin.service:
|
||||
name: apache2
|
||||
|
|
|
@ -7,5 +7,6 @@ Listen 6970
|
|||
<Directory /var/lib/tftpboot>
|
||||
Options +FollowSymlinks
|
||||
Require all granted
|
||||
Header set Access-Control-Allow-Origin "*"
|
||||
</Directory>
|
||||
</Virtualhost>
|
||||
|
|
|
@ -37,6 +37,10 @@ http:
|
|||
rule: "Host(`pbx.sailmaker.fenix.lgbt`)"
|
||||
service: asterisk-web
|
||||
<<: *sailmaker-tls
|
||||
pbx-provisioning-internal:
|
||||
rule: "Host(`pbx-provisioning.sailmaker.fenix.lgbt`)"
|
||||
service: asterisk-provisioning
|
||||
<<: *sailmaker-tls
|
||||
plex-internal:
|
||||
rule: "Host(`plex.sailmaker.fenix.lgbt`)"
|
||||
service: plex
|
||||
|
@ -113,7 +117,7 @@ http:
|
|||
asterisk-provisioning:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.21"
|
||||
- url: "http://192.168.1.21:6970"
|
||||
asterisk-web:
|
||||
loadBalancer:
|
||||
servers:
|
||||
|
|
Loading…
Reference in a new issue