anchor.diff:  	    Actions;
   	Forwards when is_list(Forwards) ->
   	    %% Append forwards found to Actions
  -	    forward_call_actions(Forwards, Actions)
  +	    forward_call_actions(Forwards, Actions, Proto)
       end.
   
   %% part of fetch_actions_for_users/1
   fetch_users_locations_as_actions(Users) ->
  -    case local:get_locations_for_users(Users) of
  -	[] ->
  -	    [];
  -	Locations when is_list(Locations) ->
  -	    locations_to_actions(Locations)
  -    end.
  +    Locations = local:get_locations_for_users(Users),
  +    locations_to_actions(Locations).
   
   %%--------------------------------------------------------------------
   %% Function: locations_to_actions(Locations)
  
positive.code:     end.
  
  %%--------------------------------------------------------------------
  %% Function: create_session_actions(Request, Logstr)
  %%           Request = request record()
  %%           LogStr  = string(), describes the request
  %% Descrip.: No actions found for this request. Check if we should
  
negative.code: 	    nomatch;
  	Users when is_list(Users) ->
  	    logger:log(debug, "Appserver: Found user(s) ~p for URI ~s", [Users, sipurl:print(LookupURL)]),
  	    get_actions_users(Users, URI#sipurl.proto, DoCPL)
      end.
  
  %% part of get_actions() - single user, look for a CPL script
  get_actions_users([User], Proto, true) when is_list(User), is_list(Proto) ->
      case local:get_cpl_for_user(User) of
  	{ok, Graph} ->
  	    {cpl, User, Graph};
  	nomatch ->
  	    get_actions_users2([User], Proto)
      end;
  %% part of get_actions() - more than one user, or DoCPL == false
  get_actions_users(Users, Proto, _DoCPL) when is_list(Users), is_list(Proto) ->
      get_actions_users2(Users, Proto).
  
  %% part of get_actions(), more than one user or DoCPL was false
  get_actions_users2(Users, Proto) when is_list(Users), is_list(Proto) ->
      case fetch_actions_for_users(Users, Proto) of
  	[] -> nomatch;
  	Actions when is_list(Actions) ->
  	    WaitAction = #sipproxy_action{action=wait,
  					  timeout=sipserver:get_env(appserver_call_timeout, 40)},
  	    {Users, lists:append(Actions, [WaitAction])}
      end.
  
  %%--------------------------------------------------------------------
  %% Function: fetch_actions_for_users(Users, Proto)
  %%           Users = list() of string(), list of SIP usernames
  %%           Proto = string(), OrigURI proto ("sips" | "sip" | ...)
  %% Descrip.: Construct a list of sipproxy_action record()s for a list
  %%           of users, based on the contents of the location database
  %%           and the KTH-only 'forwards' database. Just ignore the
  %%           'forwards' part.
  %% Returns : Actions = list() of sipproxy_action record()
  %%--------------------------------------------------------------------
  fetch_actions_for_users(Users, Proto) ->
      Actions = fetch_users_locations_as_actions(Users),
      case local:get_forwards_for_users(Users) of
  	nomatch ->
  