Configure the kitchen intercom

This commit is contained in:
Correl Roush 2024-12-22 01:58:30 -05:00
parent 4200dfdedd
commit 3389f0d4a6
5 changed files with 49 additions and 1 deletions

View file

@ -13,6 +13,28 @@ type=transport
protocol=wss protocol=wss
bind=0.0.0.0 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 ; Correl's main extension
[100] [100]
type=endpoint type=endpoint

View file

@ -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"
}
]
}

View file

@ -3,6 +3,9 @@
name: apache2 name: apache2
update_cache: true update_cache: true
state: latest state: latest
- name: Enable Apache2 Header mod
community.general.apache2_module:
name: headers
- name: Start Apache2 HTTP server - name: Start Apache2 HTTP server
ansible.builtin.service: ansible.builtin.service:
name: apache2 name: apache2

View file

@ -7,5 +7,6 @@ Listen 6970
<Directory /var/lib/tftpboot> <Directory /var/lib/tftpboot>
Options +FollowSymlinks Options +FollowSymlinks
Require all granted Require all granted
Header set Access-Control-Allow-Origin "*"
</Directory> </Directory>
</Virtualhost> </Virtualhost>

View file

@ -37,6 +37,10 @@ http:
rule: "Host(`pbx.sailmaker.fenix.lgbt`)" rule: "Host(`pbx.sailmaker.fenix.lgbt`)"
service: asterisk-web service: asterisk-web
<<: *sailmaker-tls <<: *sailmaker-tls
pbx-provisioning-internal:
rule: "Host(`pbx-provisioning.sailmaker.fenix.lgbt`)"
service: asterisk-provisioning
<<: *sailmaker-tls
plex-internal: plex-internal:
rule: "Host(`plex.sailmaker.fenix.lgbt`)" rule: "Host(`plex.sailmaker.fenix.lgbt`)"
service: plex service: plex
@ -113,7 +117,7 @@ http:
asterisk-provisioning: asterisk-provisioning:
loadBalancer: loadBalancer:
servers: servers:
- url: "http://192.168.1.21" - url: "http://192.168.1.21:6970"
asterisk-web: asterisk-web:
loadBalancer: loadBalancer:
servers: servers: