mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
2025-10-30 15:09:53 +07:00
parent 0ddae1c0ca
commit 336ee6371d

View File

@@ -250,7 +250,13 @@
rtpend=${rtpPortTo}
'';
"pjsip.conf" = ''
"pjsip.conf" =
let
serverConf = builtins.foldl' (
conf: node: conf ++ (genServerSIPEndpoint node.hostname node.address)
) "" nodes;
in
''
[transport-udp]
type=transport
protocol=udp
@@ -280,7 +286,9 @@
[dynamiic_aor](!)
type=aor
'';
''
+ (genLocalSIPEndpoint config.clan.core.vars.generators.phonebox.files.ata-local-number)
+ serverConf;
};
};
};