anchor.diff:  		    lists:append(Actions, [WaitAction | ForwardActions])
   	    end
       end.
  -
  -fetch_actions_for_users(Users) ->
  -    Actions = fetch_users_locations_as_actions(Users),
  -    case local:get_forwards_for_users(Users) of
  -	nomatch ->
  -	    Actions;
  -	[] ->
  -	    Actions;
  -	{aborted, {no_exists, forward}} ->
  -	    %% ehh? better let the Unknown thing below handle this?
  -	    Actions;
  -	Forwards when is_list(Forwards) ->
  -	    forward_call_actions(Forwards, Actions);
  -	Unknown ->
  -	    logger:log(error, "Appserver: Unexpected result from get_forwards_for_user(~p) in fetch_actions_for_users : ~p",
  -		       [Users, Unknown]),
  -	    throw({siperror, 500, "Server Internal Error"})
  -    end.
  -
  -fetch_users_locations_as_actions(Users) ->
  -    case local:get_locations_for_users(Users) of
  -	nomatch ->
  -	    [];
  -	Locations when is_list(Locations) ->
  -	    locations_to_actions(Locations);
  -	Unknown ->
  -	    logger:log(error, "Appserver: Unexpected result from get_locations_for_users(~p) in "
  -		       "fetch_users_locations_as_actions : ~p", [Users, Unknown]),
  -	    throw({siperror, 500, "Server Internal Error"})
  -    end.
  -
  -locations_to_actions(L) ->
  -    locations_to_actions2(L, []).
  -
  -locations_to_actions2([], Res) ->
  -    lists:reverse(Res);
  -
  -locations_to_actions2([{Location, _Flags, _Class, _Expire} | T], Res) when is_record(Location, sipurl) ->
  -    Timeout = sipserver:get_env(appserver_call_timeout, 40),
  -    CallAction = #sipproxy_action{action=call, requri=Location, timeout=Timeout},
  -    locations_to_actions2(T, [CallAction | Res]);
  -
  -locations_to_actions2([{URL, Timeout} | T], Res) when is_record(URL, sipurl), is_integer(Timeout) ->
  -    CallAction = #sipproxy_action{action=call, requri=URL, timeout=Timeout},
  -    locations_to_actions2(T, [CallAction | Res]);
  -
  -locations_to_actions2([{wait, Timeout} | T], Res) ->
  -    CallAction = #sipproxy_action{action=wait, timeout=Timeout},
  -    locations_to_actions2(T, [CallAction | Res]);
  -
  -locations_to_actions2([H | T], Res) ->
  -    logger:log(error, "appserver: Illegal location in locations_to_actions2: ~p", [H]),
  -    locations_to_actions2(T, Res).
  -
  -%%--------------------------------------------------------------------
  -%% Function: start_actions(BranchBase, GluePid, OrigRequest, Actions)
  -%%           BranchBase = string(), the "base" part of the server
  -%%                        transactions branch - so that we can get
  -%%                        sipproxy to generate intuitive branches for
  -%%                        it's corresponding client transactions
  -%%           GluePid = pid(), the pid to which sipproxy should report
  -%%           OrigRequest = request record()
  -%%           Actions = list() of sipproxy_action record()
  -%% Descrip.: This function is spawned by the appserver glue process
  -%%           and executes sipproxy:start() in this new thread.
  -%% Returns : void(), does not matter.
  -%%--------------------------------------------------------------------
  -start_actions(BranchBase, GluePid, OrigRequest, Actions) when is_record(OrigRequest, request) ->
  -    {Method, URI} = {OrigRequest#request.method, OrigRequest#request.uri},
  -    Timeout = 32,
  -    %% We don't return from sipproxy:start() until all Actions are done, and sipproxy signals GluePid
  -    %% when it is done.
  -    case sipproxy:start(BranchBase, GluePid, OrigRequest, Actions, Timeout) of
  -	ok ->
  -	    logger:log(debug, "Appserver forker: sipproxy fork of request ~s ~s done, start_actions() returning", [Method, sipurl:print(URI)]);
  -	{error, What} ->
  -	    logger:log(error, "Appserver forker: sipproxy fork of request ~s ~s failed : ~p", [Method, sipurl:print(URI), What])
  -    end.
  
positive.code: 	true ->
  	    request_to_me(Request, LogStr);
  	false ->
  	    create_session(NewRequest, Origin, LogStr)
      end,
      ok.
  
  
negative.code: 	true ->
  	    WaitAction = #sipproxy_action{action=wait, timeout=Timeout},
  	    lists:append(Actions, [WaitAction | ForwardActions]);
  	false ->
  	    case Timeout of
  		0 ->
  		    ForwardActions;
  