map_masq: Rewrite the serviceCentreAddress in a sm-RP-DA
This commit is contained in:
parent
44635c74f9
commit
e86edbd17b
|
@ -260,10 +260,20 @@ patch(#'SubscriberInfo'{'locationInformation'=LocInformation} = P) ->
|
|||
patch(#'LocationInformation'{'vlr-number'=VlrNumber} = P) ->
|
||||
VlrNumberOut = patch_map_isdn_addr(VlrNumber, vlr),
|
||||
P#'LocationInformation'{'vlr-number'=VlrNumberOut};
|
||||
patch(#'MO-ForwardSM-Arg'{'sm-RP-DA'=SC} = P) ->
|
||||
NewSC = patch_scaddr(SC),
|
||||
P#'MO-ForwardSM-Arg'{'sm-RP-DA'=NewSC};
|
||||
|
||||
patch(Default) ->
|
||||
Default.
|
||||
|
||||
%rewrite the serviceCentreAddressDA
|
||||
patch_scaddr({serviceCentreAddressDA,Ar}) ->
|
||||
NewAddr = patch_map_isdn_addr(Ar, smsCDA),
|
||||
{serviceCentreAddressDA,NewAddr};
|
||||
patch_scaddr(Default) ->
|
||||
Default.
|
||||
|
||||
patch_oBcsmCamelTDPDataList(List) ->
|
||||
% we reverse the origianl list, as the tail recursive _acc function
|
||||
% will invert the order of components again
|
||||
|
|
Loading…
Reference in New Issue