summaryrefslogtreecommitdiffstats
path: root/src/ss7_links.erl
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-12-08 14:19:49 +0100
committerHarald Welte <laforge@gnumonks.org>2011-12-08 14:19:49 +0100
commitfe275c00389fe1568f175f239d09a9bf3e1f7904 (patch)
tree07d3ff123d2ecf15e40a5a4a9c5679df550bc533 /src/ss7_links.erl
parent9b5ea3e612c5c6caf2d4dd0855fdf285e39f9d6a (diff)
ss7_links: don't crash on MTP-{PAUSE,RESUME,STATUS}.ind from M3UA
Diffstat (limited to 'src/ss7_links.erl')
-rw-r--r--src/ss7_links.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ss7_links.erl b/src/ss7_links.erl
index e873db3..499b918 100644
--- a/src/ss7_links.erl
+++ b/src/ss7_links.erl
@@ -184,6 +184,13 @@ is_pc_local(Pc) when is_integer(Pc) ->
mtp3_rx(Mtp3 = #mtp3_msg{}) ->
mtp3_rx(osmo_util:make_prim('MTP', 'TRANSFER',
indication, Mtp3));
+% FIXME: PAUSE/RESUME/STATUS handling
+mtp3_rx(#primitive{subsystem='MTP', spec_name='PAUSE', gen_name=indication}) ->
+ ok;
+mtp3_rx(#primitive{subsystem='MTP', spec_name='RESUME', gen_name=indication}) ->
+ ok;
+mtp3_rx(#primitive{subsystem='MTP', spec_name='STATUS', gen_name=indication}) ->
+ ok;
mtp3_rx(P = #primitive{parameters=#mtp3_msg{service_ind=Serv}}) ->
case ets:lookup(mtp3_services, Serv) of
[#service{user_pid = Pid}] ->