TSM: we already receive decoded asn.1, don't try to feed that to decoder again

master
Harald Welte 10 years ago
parent 47c1432648
commit 3bf400d91a
  1. 2
      TCAP/src/ITU/tcap_tsm_fsm.erl

@ -94,7 +94,7 @@ idle({'BEGIN', received, SccpParms}, State)
%% Store remote address and remote TID
NewState = State#state{remote_address = SccpParms#'N-UNITDATA'.callingAddress,
remoteTID = (SccpParms#'N-UNITDATA'.userData)#'Begin'.otid},
{ok, Begin} = 'TR':decode('TCMessage', SccpParms#'N-UNITDATA'.userData),
Begin = SccpParms#'N-UNITDATA'.userData,
QOS = {SccpParms#'N-UNITDATA'.sequenceControl, SccpParms#'N-UNITDATA'.returnOption},
UserData = #'TR-user-data'{dialoguePortion = Begin#'Begin'.dialoguePortion,
componentPortion = Begin#'Begin'.components},

Loading…
Cancel
Save