diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-11-05 22:02:20 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-11-05 22:02:44 +0100 |
commit | abf1603e5c2178871290dbd6371ea4b481e7092d (patch) | |
tree | a6bd2044f642efe6ba0b9ff9132d843b352ee38d | |
parent | 5a8a5a062d0f7be130220eca11c4fcfb2e7b8f72 (diff) |
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.
-rw-r--r-- | src/sccp_scrc.erl | 3 |
1 files changed, 3 insertions, 0 deletions
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}. |