From d98371a2f47a02ebc97a79ca16cc3dfb68cf98c2 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 7 Jun 2013 23:15:42 +0200 Subject: [PATCH] TCAP TCO Server: Use 'TR' module to encode Abort --- TCAP/src/ITU/tcap_tco_server.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCAP/src/ITU/tcap_tco_server.erl b/TCAP/src/ITU/tcap_tco_server.erl index 65a7ada..fcaf2d3 100644 --- a/TCAP/src/ITU/tcap_tco_server.erl +++ b/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,