Software /
code /
prosody-modules
Comparison
mod_s2soutinjection/README.md @ 6003:fe081789f7b5
All community modules: Unify file extention of Markdown files to .md
author | Menel <menel@snikket.de> |
---|---|
date | Tue, 22 Oct 2024 10:26:01 +0200 |
parent | 4931:mod_s2soutinjection/README.markdown@f4a9e804c457 |
comparison
equal
deleted
inserted
replaced
6002:5a65a632d5b9 | 6003:fe081789f7b5 |
---|---|
1 --- | |
2 summary: S2S connection override | |
3 ... | |
4 | |
5 # Introduction | |
6 | |
7 This module is similar to [mod\_srvinjection] but less of an hack. | |
8 | |
9 # Configuration | |
10 | |
11 ``` lua | |
12 -- In the global section | |
13 | |
14 modules_enabled = { | |
15 --- your other modules | |
16 "s2soutinjection"; | |
17 } | |
18 | |
19 -- targets must be IPs, not hostnames | |
20 s2s_connect_overrides = { | |
21 -- This one will use the default port, 5269 | |
22 ["example.com"] = "1.2.3.4"; | |
23 | |
24 -- To set a different port: | |
25 ["another.example"] = { "127.0.0.1", 9999 }; | |
26 } | |
27 ``` | |
28 | |
29 # Compatibility | |
30 | |
31 Requires 0.9.x or later. Tested on 0.12.0 |