anchor.diff:      end,
       ok.
   
  +path_test() ->
  +    [{udp, {127,0,0,1}, 5060, <<>>}] = 
  +        nksip_dns:resolve("sip://localhost/base"),
  +    [{ws, {127,0,0,1}, 80, <<"/base">>}] = 
  +        nksip_dns:resolve("<sip://localhost/base;transport=ws>"),
  +    [{wss, {127,0,0,1}, 1234, <<"/base">>}] = 
  +        nksip_dns:resolve("<sips://localhost:1234/base;transport=ws>"),
  +    ok.
  +
   -endif.
   
   
  
positive.code:             end,
              case resolve_srvs(Scheme, Naptr, []) of
                  [] when Scheme==sips -> 
                      [{tls, Addr, 5061} || Addr <- get_ips(Domain)];
                  [] -> 
                      [{udp, Addr, 5060} || Addr <- get_ips(Domain)];
                  Srvs ->
                      Srvs
              end
      end;
  
  
negative.code:             true -> [TargetIp];
              false -> get_ips(Target)
          end,
          {ok, [{FProto, Addr, Port1, Path} || Addr <- Addrs]} 
      end,
      case {Scheme, Proto} of
          {sip, udp} -> Resolve(udp);
  