anchor.diff:  %%           is allowed to call to, through a pstnproxy. What class a
   %%           PSTN number is in is determined through pstnproxy
   %%           configuration.
  -%% Returns : Classes, list() of atom()
  +%% Returns : Classes |
  +%%           nomatch |
  +%%           error
  +%%           Classes = list() of atom()
   %%--------------------------------------------------------------------
   get_classes_for_user(User) ->
       case phone:get_user(User) of
   	{atomic, []} ->
  -	    logger:log(debug, "userdb-mnesia: No such user ~p when fetching password", [User]),
  -	    nomatch;
  -	{atomic, [A]} ->
  -	    {_Password, _Flags, Classes} = A,
  +	    logger:log(debug, "userdb-mnesia: No such user ~p when fetching classes", [User]),
  +	    nomatch;
  +	{atomic, [{_Password, _Flags, Classes}]} ->
   	    Classes;
   	Unknown ->
   	    logger:log(error, "userdb-mnesia: Unexpected result from phone:get_user(), user ~p result : ~p",
  
positive.code: %% Descrip.: Return a list of forwards for this user. Forwards are
  %%           currently not in the main Yxa CVS repository - Magnus has
  %%           some CVS merging to do.
  %% Returns : list() of Unknown |
  %%           nomatch
  %%--------------------------------------------------------------------
  get_forwards_for_users(In) ->
      get_forwards_for_users2(In, []).
  
negative.code: 	{atomic, []} ->
  	    logger:log(debug, "userdb-mnesia: No such user ~p when fetching password", [User]),
  	    nomatch;
  	{atomic, [{Password, _Flags, _Classes}]} ->
  	    Password;
  	Unknown ->
  	    logger:log(error, "userdb-mnesia: Unexpected result from phone:get_user(), user ~p result : ~p",
  