From abf1603e5c2178871290dbd6371ea4b481e7092d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 5 Nov 2011 22:02:20 +0100 Subject: [PATCH] scrc: add FIXMEs about routing outgoing connection oriented msgs When we receive local-out messages from SCOC into SCRC, they need to be SCCP-encoded, routed and MTP3-encoded before they can be passed on. Spotted by dialyzer. --- src/sccp_scrc.erl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sccp_scrc.erl b/src/sccp_scrc.erl index 495f01a..15f6097 100644 --- a/src/sccp_scrc.erl +++ b/src/sccp_scrc.erl @@ -183,6 +183,7 @@ idle(#primitive{subsystem = 'OCRC', gen_name = 'CONNECTION-MSG', spec_name = request, parameters = Msg}, LoopDat) -> % encode the actual SCCP message EncMsg = sccp_codec:encode_sccp_msg(Msg), + % FIXME: routing and create_mtp3_out() % generate a MTP-TRANSFER.req primitive to the lower layer send_mtp_transfer_down(LoopDat, EncMsg), {next_state, idle, LoopDat}; @@ -191,6 +192,7 @@ idle(#primitive{subsystem = 'OCRC', gen_name = 'CONNECTION', spec_name = confirm, parameters = Params}, LoopDat) -> % encode the actual SCCP message EncMsg = sccp_codec:encode_sccp_msgt(?SCCP_MSGT_CC, Params), + % FIXME: routing and create_mtp3_out() % generate a MTP-TRANSFER.req primitive to the lower layer send_mtp_transfer_down(LoopDat, EncMsg), {next_state, idle, LoopDat}; @@ -201,6 +203,7 @@ idle(#primitive{subsystem = 'OCRC', gen_name = 'CONNECTION', spec_name = indication, parameters = Params}, LoopDat) -> % encode the actual SCCP message EncMsg = sccp_codec:encode_sccp_msgt(?SCCP_MSGT_CR, Params), + % FIXME: routing and create_mtp3_out() % generate a MTP-TRANSFER.req primitive to the lower layer send_mtp_transfer_down(LoopDat, EncMsg), {next_state, idle, LoopDat}.