mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user