anchor.diff:  received_new_request(#request{method="ACK"}=Request, _Socket, _LogStr, AppModule) ->
       logger:log(debug, "Transaction layer: Received ACK ~s that does not match any existing transaction, passing to core.",
   	       [sipurl:print(Request#request.uri)]),
  -    {pass_to_core, AppModule};
  +    {pass_to_core, AppModule, undefined};
   
   received_new_request(Request, Socket, LogStr, AppModule) when is_record(Request, request) ->
       logger:log(debug, "Transaction layer: No state for received request, starting new transaction"),
  
positive.code: 	none ->
  	    [{appmodule, AppModule}] = ets:lookup(transactionlayer_settings, appmodule),
  	    case received_new_request(Request, Origin#siporigin.sipsocket, LogStr, AppModule) of
  		{pass_to_core, NewAppModule} ->
  		    case get_dialog_handler(Request) of
  			nomatch ->
  			    {pass_to_core, NewAppModule};
  			DCPid when is_pid(DCPid) ->
  			    logger:log(debug, "Transaction layer: Passing request to dialog controller ~p", [DCPid]),
  			    case is_process_alive(DCPid) of
  				true ->
  				    Ref = make_ref(),
  				    DCPid ! {new_request, self(), Ref, Request, Origin, LogStr},
  				    receive
  					{ok, DCPid, Ref} ->
  					    ok
  				    after
  					5 * 1000 ->
  					    logger:log(error, "Transaction layer: Dialog handler ~p alive, but not responding "
  						       "- throwing '500 Server Internal Error'", [DCPid]),
  					    throw({siperror, 500, "Server Internal Error"})
  				    end;
  				false ->
  				    THandler = get_handler_for_request(Request),
  				    logger:log(error, "Transaction layer: Dialog handler pid ~p not alive, answering "
  					       "'481 Call/Transaction Does Not Exist'", [DCPid]),
  				    send_response_handler(THandler, 481, "Call/Transaction Does Not Exist")
  			    end,
  			    continue
  		    end;
  		Res ->
  		    Res
  	    end;
  	STPid when is_pid(STPid) ->
  	    gen_server:cast(STPid, {siprequest, Request, Origin}),
  
negative.code: 		true ->
  		    logger:log(debug, "Transaction layer: Telling SIP message handler to start this applications "
  			       "request function."),
  		    {pass_to_core, AppModule, STPid};
  		false ->
  		    continue
  	    end;
  