anchor.diff:      end.
   
   route_matches_me(Route) ->
  -    {_, {_, _, Host, Port, _}} = Route,
  -    MyName = myhostname(),
  -    MyIP = siphost:myip(),
  +    {_, {_, _, Host, RoutePort, _}} = Route,
  +    Port = default_port(RoutePort),
  +    HostnameList = lists:append(sipserver:get_env(myhostnames, []), [siphost:myip()]),
  +    HostnameIsMyHostname = util:casegrep(Host, HostnameList),
       MyPort = default_port(sipserver:get_env(listenport, none)),
       if
   	Port /= MyPort -> false;
  -	Host /= MyName ->
  -	    if
  -		Host == MyIP -> true;
  -		true -> false
  -	    end;
  +	HostnameIsMyHostname /= true -> false;
   	true ->	true
       end.	   
   
  
positive.code: 	{error, What} ->
  	    {error, What};
  	{Host, Port} ->
  	    dnsutil:get_ip_port(Host, integer_to_list(Port));
  	none ->
  	    dnsutil:get_ip_port(InHost, default_port(InPort))
      end.
  
negative.code:         [{_, NewDest} | NewRoute1] ->
  	    case route_matches_me({none, NewDest}) of
  		true ->
  		    logger:log(debug, "Routing: First Route ~p matches me, removing it.", [sipheader:contact_print([{none, NewDest}])]),
  		    case NewRoute1 of
  			[] ->
  			    rewrite_route(keylist:delete("Route", Header), URI);
  