anchor.diff:  
   -module(sipdst).
   
  --export([url_to_dstlist/3, get_response_destination/1, dst2str/1,
  -	 debugfriendly/1]).
  +-export([
  +	 url_to_dstlist/3,
  +	 get_response_destination/1,
  +	 dst2str/1,
  +	 debugfriendly/1
  +	]).
   
   -include("siprecords.hrl").
   -include("sipsocket.hrl").
   
   
   %%--------------------------------------------------------------------
  -%% Function: url_to_dstlist/3
  -%% Description: Make a list of sipdst records from an URL. We need the
  -%%              approximate message size to determine if we can use
  -%%              UDP or have to do TCP only.
  -%% Returns: ListOfDsts | {error, Reason}
  -%%--------------------------------------------------------------------
  -url_to_dstlist(URL, ApproxMsgSize, ReqURI) when record(URL, sipurl), integer(ApproxMsgSize) ->
  +%% Function: url_to_dstlist(URL, ApproxMsgSize, ReqURI)
  +%%           URL           = sipurl record(), the destination we
  +%%                           should resolve
  +%%           ApproxMsgSize = integer()
  +%%           ReqURI        = sipurl record(), the original
  +%%                           Request-URI of the request
  +%% Descrip.: Make a list of sipdst records from an URL. We need the
  +%%           approximate message size to determine if we can use
  +%%           UDP or have to do TCP only.
  +%% Returns : list() of sipdst record() | {error, Reason}
  +%%--------------------------------------------------------------------
  +url_to_dstlist(URL, ApproxMsgSize, ReqURI) when is_record(URL, sipurl), is_integer(ApproxMsgSize) ->
       {Host, Port, Parameters} = {URL#sipurl.host, URL#sipurl.port, URL#sipurl.param},
       %% Check if Host is either IPv4 or IPv6 address
  +    %% XXX module (and function) not listed in erlang documentation but
  +    %% included in Erlang/OTP source
       case inet_parse:address(Host) of
   	{ok, _} ->
   	    logger:log(debug, "url_to_dstlist: ~p is an IP address, not performing domain NAPTR/SRV lookup", [Host]),
  
positive.code:     end.
  
  %%--------------------------------------------------------------------
  %% Function: get_response_destination/1
  %% Description: Turn the top Via header from a response into a sipdst
  %%              record with the protocol, host and port the response
  %%              should be sent to.
  %% Returns: Dst |
  %%          error
  %%--------------------------------------------------------------------
  get_response_destination(TopVia) when record(TopVia, via) ->
      case get_response_host_proto(TopVia) of
  
negative.code: 		R ->
  		    R
  	    end;
  	_Res ->
  	    %% There was no received= parameter. Do the same checks but on the Via
  	    %% hostname (which is then almost certainly an IP-address).
  	    case address_to_address_and_proto(Host, Proto) of
  