blob: 6f143f1fb71510abc49d7f35fc6f74651acfd3fd [file] [log] [blame]
Harald Welte790f3642011-02-03 17:44:50 +01001{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, [
Harald Welte26f1cd52011-02-06 22:33:08 +01007 % SCCP static rewrite rules
Harald Welte3d9a4da2011-02-06 21:54:51 +01008 {sccp_rewrite_tbl, [
Harald Welte93b2ab52011-02-06 21:48:58 +01009 { 12340000, 98760000, "HLR" },
10 { 12340001, 98760001, "VLR" }
11 ]},
Harald Welte790f3642011-02-03 17:44:50 +010012
Harald Welte26f1cd52011-02-06 22:33:08 +010013 % SCCP source masquerading pool
14 {sccp_masq_gt_base, 12340000},
15 {sccp_masq_gt_max, 9999},
16
Harald Welte790f3642011-02-03 17:44:50 +010017 % ISUP rewrite
Harald Welte93b2ab52011-02-06 21:48:58 +010018 {msrn_pfx_msc, 35489099},
Harald Welte3d9a4da2011-02-06 21:54:51 +010019 {msrn_pfx_stp, 6392994200},
Harald Welte93b2ab52011-02-06 21:48:58 +010020 {intern_pfx, 63},
Harald Welte790f3642011-02-03 17:44:50 +010021
22 % SCTP / IP config
23 {msc_local_ip, any},
24 {msc_local_port, 2904},
25 {msc_remote_ip, {172,16,1,81}},
26 {stp_remote_ip, {172,16,249,20}},
27 {stp_remote_port, 2904}
28 ]}
29]}.