nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 4c27b4e06f425ac7b41455aa5cb5e7f93f3568f9
parent 89a04d23575d307ccb3618f98e7065e019337e34
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 16 Aug 2023 00:56:57 +0200

Fix asterisk config

Diffstat:
Mnixos/worker-1/configuration.nix | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/nixos/worker-1/configuration.nix b/nixos/worker-1/configuration.nix @@ -464,14 +464,14 @@ enable = true; confFiles = { "extensions.con" = '' - [from-internal] + [tests] exten = 100,1,Answer() same = n,Wait(1) same = n,Playback(hello-world) same = n,Hangup() - [internal] - include => from-internal + [softphones] + include => tests [unauthorized] ''; @@ -483,9 +483,9 @@ srvlookup=no ; Don't do DNS lookup udpbindaddr=0.0.0.0 ; Listen on all interfaces - [internal](!) + [softphone](!) type=friend ; Match on username first, IP second - context=internal ; Send to from-internal context in + context=softphones ; Send to softphones context in ; extensions.conf file host=dynamic ; Device will register with asterisk disallow=all ; Manually specify codecs to allow @@ -493,7 +493,7 @@ allow=ulaw allow=alaw - [6001](internal) + [6001](softphone) secret=meow ''; @@ -513,7 +513,7 @@ [6001] type=endpoint - context=internal + context=softphones disallow=all allow=g722 allow=ulaw