anchor.diff:  %%% File    : sipauth.erl
   %%% Author  : Magnus Ahltorp <ahltorp@nada.kth.se>
   %%% Description : SIP authentication functions.
  -%%% Created : DD MMM YYYY by Magnus Ahltorp <ahltorp@nada.kth.se>
  +%%% Created : 15 Nov 2002 by Magnus Ahltorp <ahltorp@nada.kth.se>
   %%%-------------------------------------------------------------------
   -module(sipauth).
  +
   %%-compile(export_all).
   
   -export([get_response/5,
  
positive.code:     {false, error}.
  
  %%--------------------------------------------------------------------
  %% Function: can_register(Header, Address)
  %%           Header  = keylist record()
  %%           Address = string()
  %% Descrip.: Check if a REGISTER message authenticates OK, and check
  %%           that the User returned from credentials check actually
  %%           may use this From: (NOT To:, so third party registrations
  %%           are not denied per se by this check).
  %% Returns : {{Verdict, Reason}, User} |
  %%           {stale, User}             |
  
negative.code:     end.
  
  %%--------------------------------------------------------------------
  %% Function: pstn_call_check_auth(Method, Header, URL, ToNumberIn,
  %%                                Classdefs)
  %%           Method     = string()
  %%           Header     = keylist record()
  %%           URL        = sipurl record(), From-address in request
  %%           ToNumberIn = string(), destination, local or E.164 number
  %%           Classdefs  = term()
  %% Descrip.: Check if the destination is allowed for this user, and
  