anchor.diff:  		    end
   	    end;
   	false ->
  -	    logger:log(debug, "FREDRIK: VIA ~p NOT EQUAL MINE ~p", [TopVia, CmpVia]),
   	    %% Via doesn't match me, check next.
   	    via_indicates_loop(LoopCookie, CmpVia, Rest)
       end.
  
positive.code: 			       sipheader:via_print([TopVia])),
  		    via_indicates_loop(LoopCookie, CmpVia, Rest);
  		{ok, Branch} ->
  		    logger:log(debug, "FREDRIK: CHECKING BRANCH ~p ->~n ~p ~nAGAINST ~p", [Branch, extract_loopcookie(Branch, length(LoopCookie)),
  											  LoopCookie]),
  		    case extract_loopcookie(Branch, length(LoopCookie)) of
  			LoopCookie ->
  			    true;
  
negative.code:     %% test parse_packet2(Packet, Origin)
      %%--------------------------------------------------------------------
      autotest:mark(?LINE, "parse_packet1/2 - Loop detection - 1.0"),
      %% demonstrate that a spiraling request is not treated as a loop
      %%
      %% The spiral is supposed to emulate this scenario :
      %%
      %% Regexp1: ^sip:regexp1@homedomain$ sip:regexp2@homedomain
      %% Regexp2: ^sip:regexp2@homedomain$ sip:user@homedomain
      %%
      %% a request sent to regexp1@ should spiral and end up at user@
  
      HomedomainStr = "example.org",
  
  