blob: 2172949250765b60fbd0eef3bb3ee9fc66c95bdd [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, [
7 % SCCP rewrite
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
13 % ISUP rewrite
Harald Welte93b2ab52011-02-06 21:48:58 +010014 {msrn_pfx_msc, 35489099},
Harald Welte3d9a4da2011-02-06 21:54:51 +010015 {msrn_pfx_stp, 6392994200},
Harald Welte93b2ab52011-02-06 21:48:58 +010016 {intern_pfx, 63},
Harald Welte790f3642011-02-03 17:44:50 +010017
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]}.