anchor.diff:  			true ->
   			    case sipproxy:get_branch(Header) of
   				none ->
  -				    logger:log(normal, "appserver: Received ~s ~s matching existing transaction, sending on to GluePid ~p", [Method, sipurl:print(URI), Pid]),
  +				    logger:log(normal, "Appserver: Received ~s ~s matching existing transaction, sending on to GluePid ~p", [Method, sipurl:print(URI), Pid]),
   				    safe_signal(Pid, {siprequest, callbranch, {Method, URI, Header, Body}});
   				Branch ->
  -				    logger:log(normal, "appserver: Received ~s ~s matching existing transaction, sending on to GluePid ~p", [Method, sipurl:print(URI), Pid]),
  +				    logger:log(normal, "Appserver: Received ~s ~s matching existing transaction, sending on to GluePid ~p", [Method, sipurl:print(URI), Pid]),
   				    safe_signal(Pid, {siprequest, Branch, {Method, URI, Header, Body}})
   			    end;		
   			false ->
  -			    logger:log(normal, "appserver: Received ~s ~s matching existing transaction with dead GluePid ~p. Removing transaction from database and starting new.",
  +			    logger:log(normal, "Appserver: Received ~s ~s matching existing transaction with dead GluePid ~p. Removing transaction from database and starting new.",
   			    		[Method, sipurl:print(URI), Pid]),
   			    DialogueID = sipheader:dialogueid(Header),
   			    delete_call(DialogueID),
   			    create_session(Method, URI, Header, Body, Socket, FromIP)
   		    end;
   		_ ->
  -		    logger:log(debug, "appserver: Found dialogue, but this requests URI (~s) does not match original requests URI (~s), proxying.",
  +		    logger:log(debug, "Appserver: Found dialogue, but this requests URI (~s) does not match original requests URI (~s), proxying.",
   		    		[sipurl:print(URI), sipurl:print(OrigURI)]),
  +		    LogStr = sipserver:make_logstr({request, Method, URI, Header, Body}, FromIP),
  +		    logger:log(normal, "Appserver: ~s -> Forwarding statelessly (new Request-URI)", [LogStr]),
   		    siprequest:send_proxy_request(Header, Socket, {Method, URI, Body, []})
   	    end;
   	Foo ->
  -	    logger:log(error, "appserver: Unknown database content returned :~n~p", [Foo])
  +	    logger:log(error, "Appserver: Unknown database content returned :~n~p", [Foo])
       end.
   
   create_session("INVITE", URI, Header, Body, Socket, FromIP) ->
  
positive.code: 	    CallBranch = BranchBase ++ "-UAS",
  	    OrigRequest = {Method, URI, Header, Body},
  	    Actions = get_actions(URI),
  	    Key = local:sipuser(URI),
  	    case Actions of
  		nomatch ->
  		    logger:log(normal, "Appserver: No actions found for ~s ~s (SIP user ~p), answering 404 Not Found",
  		    		[Method, sipurl:print(URI), Key]),
  		    AnswerHeader = siprequest:make_answerheader(Header),
  		    siprequest:send_notfound(AnswerHeader, Socket);
  		_ ->
  		    CallPid = serverbranch:start(CallBranch, Socket, FromIP, self(), OrigRequest),
  		    logger:log(debug, "Appserver: User ~p actions :~n~p", [Key, Actions]),
  		    fork_actions(BranchBase, CallBranch, CallPid, OrigRequest, Socket, FromIP, Actions)
  	    end;
  	_ ->
  	    logger:log(debug, "Appserver: Request ~s ~s has Route header. Forwarding statelessly.", [Method, sipurl:print(URI)]),
  	    LogStr = sipserver:make_logstr({request, Method, URI, Header, Body}, FromIP),
  	    logger:log(normal, "~s: Forwarding statelessly", [LogStr]),
  	    siprequest:send_proxy_request(Header, Socket, {Method, URI, Body, []})
      end.
  
  
negative.code: 		    safe_signal(GluePid, {response, {Status, Reason, Header, Body}})
  	    end;
  	Foo ->
  	    logger:log(error, "Appserver: Unknown database content returned :~n~p", [Foo])
      end.
  
  get_actions(URI) ->
  