diff options
| author | alex <alex@pdp7.net> | 2025-10-26 10:00:41 +0100 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2025-10-26 12:14:27 +0100 |
| commit | 184f1a0143945549bf173a4bab22563a3af769c6 (patch) | |
| tree | 9b3027c49a14473f34efd83031562e647c14dc39 /personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp | |
| parent | 51d9cd16d8f625603e0eecad315431f62fb8841f (diff) | |
Migrate from freeswitch to flexisip
Diffstat (limited to 'personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp')
| -rw-r--r-- | personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp b/personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp new file mode 100644 index 00000000..75b57fe0 --- /dev/null +++ b/personal_infra/puppet/site/flexisip.h1.int.pdp7.net.pp @@ -0,0 +1,17 @@ +node 'flexisip.h1.int.pdp7.net' { + $password = lookup("flexisip.password") + + class {'flexisip': + flexisip_domain => 'sip.pdp7.net', + flexisip_sdp_port_range_min => '20000', + flexisip_sdp_port_range_max => '20010', + flexisip_user_database => @("EOT") + version:1 + + 1000@sip.pdp7.net clrtxt:$password ; + 1001@sip.pdp7.net clrtxt:$password ; + 1002@sip.pdp7.net clrtxt:$password ; + | EOT + , + } +} |
