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}
|
rtpend=${rtpPortTo}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"pjsip.conf" = ''
|
"pjsip.conf" =
|
||||||
|
let
|
||||||
|
serverConf = builtins.foldl' (
|
||||||
|
conf: node: conf ++ (genServerSIPEndpoint node.hostname node.address)
|
||||||
|
) "" nodes;
|
||||||
|
in
|
||||||
|
''
|
||||||
[transport-udp]
|
[transport-udp]
|
||||||
type=transport
|
type=transport
|
||||||
protocol=udp
|
protocol=udp
|
||||||
@@ -280,7 +286,9 @@
|
|||||||
[dynamiic_aor](!)
|
[dynamiic_aor](!)
|
||||||
type=aor
|
type=aor
|
||||||
|
|
||||||
'';
|
''
|
||||||
|
+ (genLocalSIPEndpoint config.clan.core.vars.generators.phonebox.files.ata-local-number)
|
||||||
|
+ serverConf;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user