summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-06-25 16:14:01 +0200
committerHarald Welte <laforge@gnumonks.org>2013-06-25 16:14:01 +0200
commit4ee5c4b20871079159e6bd0bd8e6f3c06c3c0f7f (patch)
tree9d563956b14f393d702be33536db6f5b4000da48
parent3a58450d116587e86caf8561f3ffa3425aa80a58 (diff)
ISM: correctly handle TC-U-ERROR component in class1/class2 opHEADmaster
-rw-r--r--TCAP/src/ITU/tcap_ism_fsm.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/TCAP/src/ITU/tcap_ism_fsm.erl b/TCAP/src/ITU/tcap_ism_fsm.erl
index 2793f6c..6718215 100644
--- a/TCAP/src/ITU/tcap_ism_fsm.erl
+++ b/TCAP/src/ITU/tcap_ism_fsm.erl
@@ -131,7 +131,7 @@ op_sent_cl1(P=#'TC-RESULT-L'{}, State) ->
% start reject timer
Trej = start_reject_timer(),
{next_state, wait_for_reject, State#state{rej_timer = Trej}};
-op_sent_cl1(P=#'TC-U-REJECT'{}, State) ->
+op_sent_cl1(P=#'TC-U-ERROR'{}, State) ->
% Figure A.7/Q.774 (2 of 6)
% TC-U-ERROR.ind to user
gen_fsm:send_event(State#state.usap, {'TC', 'U-ERROR', indication, P}),
@@ -159,9 +159,9 @@ wait_for_reject({timer_expired, reject}, State) ->
% terminate
{stop, normal, State}.
-op_sent_cl2(P=#'TC-U-REJECT'{}, State) ->
+op_sent_cl2(P=#'TC-U-ERROR'{}, State) ->
% TC-U-ERROR.ind to user
- gen_fsm:send_event(State#state.usap, {'TC', 'U-REJECT', indication, P}),
+ gen_fsm:send_event(State#state.usap, {'TC', 'U-ERROR', indication, P}),
% stop invocation timer
timer:cancel(State#state.inv_timer),
% start reject timer