anchor.diff:  %%--------------------------------------------------------------------
   resolve_if_necessary([], _) ->
       [];
  -resolve_if_necessary([Dst | T], ApproxMsgSize) when record(Dst, sipdst), Dst#sipdst.proto == undefined; Dst#sipdst.addr == undefined; Dst#sipdst.port == undefined ->
  +resolve_if_necessary([Dst | T], ApproxMsgSize) when is_record(Dst, sipdst), Dst#sipdst.proto == undefined; Dst#sipdst.addr == undefined; Dst#sipdst.port == undefined ->
       URI = Dst#sipdst.uri,
       %% This is an incomplete sipdst, it should have it's URI set so we resolve the rest from here
       case URI of
  -	_ when record(URI, sipurl) ->
  +	_ when is_record(URI, sipurl) ->
   	    case sipdst:url_to_dstlist(URI, ApproxMsgSize, URI) of
  -		DstList when list(DstList) ->
  +		DstList when is_list(DstList) ->
   		    DstList;
   		Unknown ->
   		    logger:log(error, "sippipe: Failed resolving URI ~s : ~p", [sipurl:print(URI), Unknown]),
  
positive.code:     case string:rchr(In, $.) of
  	0 ->
  	    In ++ ".1";
  	Index when integer(Index) ->
  	    Rhs = string:substr(In, Index + 1),
  	    case util:isnumeric(Rhs) of
  		true ->
  
negative.code: %%
  %% Time to warn
  %%
  tick(State, Now) when is_record(State, state), Now >= State#state.warntime ->
      logger:log(error, "sippipe: Warning: pipe process still alive!~nClient handler : ~p, Server handler : ~p",
  	       [State#state.clienthandler, State#state.serverhandler]),
      {ok, State#state{warntime=Now + 60}};
  