Harald Welte | 790f364 | 2011-02-03 17:44:50 +0100 | [diff] [blame] | 1 | {application, mgw_nat, |
| 2 | [{description, "Media Gateway NAT"}, |
| 3 | {vsn, "1"}, |
| 4 | {modules, [mgw_nat_app, mgw_nat_sup, mgw_nat_usr, mgw_nat]}, |
| 5 | {mod, {mgw_nat_app, []}}, |
| 6 | {env, [ |
| 7 | % SCCP rewrite |
Harald Welte | 3d9a4da | 2011-02-06 21:54:51 +0100 | [diff] [blame^] | 8 | {sccp_rewrite_tbl, [ |
Harald Welte | 93b2ab5 | 2011-02-06 21:48:58 +0100 | [diff] [blame] | 9 | { 12340000, 98760000, "HLR" }, |
| 10 | { 12340001, 98760001, "VLR" } |
| 11 | ]}, |
Harald Welte | 790f364 | 2011-02-03 17:44:50 +0100 | [diff] [blame] | 12 | |
| 13 | % ISUP rewrite |
Harald Welte | 93b2ab5 | 2011-02-06 21:48:58 +0100 | [diff] [blame] | 14 | {msrn_pfx_msc, 35489099}, |
Harald Welte | 3d9a4da | 2011-02-06 21:54:51 +0100 | [diff] [blame^] | 15 | {msrn_pfx_stp, 6392994200}, |
Harald Welte | 93b2ab5 | 2011-02-06 21:48:58 +0100 | [diff] [blame] | 16 | {intern_pfx, 63}, |
Harald Welte | 790f364 | 2011-02-03 17:44:50 +0100 | [diff] [blame] | 17 | |
| 18 | % SCTP / IP config |
| 19 | {msc_local_ip, any}, |
| 20 | {msc_local_port, 2904}, |
| 21 | {msc_remote_ip, {172,16,1,81}}, |
| 22 | {stp_remote_ip, {172,16,249,20}}, |
| 23 | {stp_remote_port, 2904} |
| 24 | ]} |
| 25 | ]}. |