TCAP TCO Server: Use 'TR' module to encode Abort

master
Harald Welte 10 years ago
parent b85bdc8e2a
commit d98371a2f4
  1. 2
      TCAP/src/ITU/tcap_tco_server.erl

@ -319,7 +319,7 @@ handle_cast({'N', 'UNITDATA', indication, UdataParams}, State)
% Build ABORT message (P-Abort Cause = Resource Limitation)
Abort = {abort, #'Abort'{dtid = TPDU#'Begin'.otid,
reason = {'p-abortCause', resourceLimitation}}},
NewTPDU = list_to_binary('TCMessage':encode('TCMessage', Abort)),
NewTPDU = list_to_binary('TR':encode('TCMessage', Abort)),
SccpParams = #'N-UNITDATA'{calledAddress = UdataParams#'N-UNITDATA'.callingAddress,
callingAddress = UdataParams#'N-UNITDATA'.calledAddress,
sequenceControl = false, returnOption = false, importance = none,

Loading…
Cancel
Save