From cd4dceba61736372861423d6d8b83f97571ed3eb Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 30 Jan 2012 19:50:49 +0100 Subject: [PATCH] TSM: fix copy+paste mistake resulting in BadRecord exception --- TCAP/src/ITU/tcap_tsm_fsm.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCAP/src/ITU/tcap_tsm_fsm.erl b/TCAP/src/ITU/tcap_tsm_fsm.erl index 0625905..66dface 100644 --- a/TCAP/src/ITU/tcap_tsm_fsm.erl +++ b/TCAP/src/ITU/tcap_tsm_fsm.erl @@ -222,7 +222,7 @@ initiation_received({'ABORT', transaction, AbortParms}, State) initiation_sent({'CONTINUE', received, SccpParms}, State) when is_record(SccpParms, 'N-UNITDATA') -> %% Store remote address and remote TID - OTID = (SccpParms#'N-UNITDATA'.userData)#'Begin'.otid, + OTID = (SccpParms#'N-UNITDATA'.userData)#'Continue'.otid, NewState = State#state{ remote_address = SccpParms#'N-UNITDATA'.callingAddress, remoteTID = OTID}, QOS = {SccpParms#'N-UNITDATA'.sequenceControl,