anchor.diff:  % SCCP routing control procedures (SCRC)
   
  -% (C) 2010 by Harald Welte <laforge@gnumonks.org>
  +% (C) 2010-2011 by Harald Welte <laforge@gnumonks.org>
   %
   % All Rights Reserved
   %
  
positive.code: 
  -module(sccp_scrc).
  -behaviour(gen_fsm).
  -export([start_link/1, init/1, idle/2]).
  
  -include("osmo_util.hrl").
  -include("sccp.hrl").
  
  
  
  
negative.code: % triggered by N-CONNECT.req from user to SCOC:
  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),
  	% generate a MTP-TRANSFER.req primitive to the lower layer
  	send_mtp_transfer_down(LoopDat, EncMsg),
  	{next_state, idle, LoopDat}.
  
  send_mtp_down(#scrc_state{mtp_tx_action = MtpTxAction}, Prim) ->
  	io:format("MTP Tx ~p, Prim ~p~n", [MtpTxAction, Prim]),
  