vfuk_onw: activate mangle_tt_sri_sm and add test config for it

This commit is contained in:
Harald Welte 2012-05-30 13:10:46 +02:00
parent 54274d40c4
commit 6c202b211d
2 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,10 @@ rewrite_actor(sctp, From, Path, 2, DataBin) ->
DataBin
end;
% Rewrite at SCCP level: call into mangle_tt_sri_sm
rewrite_actor(sccp, from_msc, Path, SccpType, SccpDec) ->
mangle_tt_sri_sm:mangle_tt_sri_sm(from_msc, Path, SccpType, SccpDec);
% Rewrite at MAP level: call into map_masq module
rewrite_actor(map, From, Path, 0, MapDec) ->
mangle_map_camel_phase(From, Path, MapDec);

View File

@ -58,9 +58,11 @@ setup() ->
{ [ {gt_range_from, 443850000000000 },
{gt_range_to, 443859999999999 } ], [ phase1 ] }
]),
application:set_env(mgw_nat, mangle_tt_sri_sm_pfx, [ 91 ]),
mgw_nat_act_vfuk_onw:reload_config().
teardown(_) ->
application:unset_env(mgw_nat, mangle_tt_sri_sm_pfx),
application:unset_env(mgw_nat, camel_phase_patch_table).
% Test the tuple walker and camelph_twalk_cb() directly, as we don't have a