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.
This commit is contained in:
Harald Welte 2011-11-05 22:02:20 +01:00
parent 5a8a5a062d
commit abf1603e5c
1 changed files with 3 additions and 0 deletions

View File

@ -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}.