blob: 4e61be2bf20541f6c8a8b0d1ae334db6bb8254df [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
8 {real_hlr_gt, [6,3,9,1,8,0,0,0,4,0,1,2]},
9 {nat_hlr_gt, [3,5,4,8,9,0,0,0,7,1]},
10
11 % ISUP rewrite
12 {msrn_pfx_msc, [3,5,4,8,9,0,9,9]},
13 {msrn_pfx_stp, [6,3,9,2,9,9,4,2,0,0]},
14 {intern_pfx, [6,3]},
15
16 % SCTP / IP config
17 {msc_local_ip, any},
18 {msc_local_port, 2904},
19 {msc_remote_ip, {172,16,1,81}},
20 {stp_remote_ip, {172,16,249,20}},
21 {stp_remote_port, 2904}
22 ]}
23]}.