anchor.diff:  	    ok
       end.
   
  +%% part of cancel_timer/2
   del_ref(_Ref, []) ->
       [];
   del_ref(Ref, [H | T]) when is_record(H, siptimer), H#siptimer.ref == Ref ->
  
positive.code: get_timer2(Ref, [H | T]) when is_record(H, siptimer) ->
      get_timer2(Ref, T).
  
  
  get_timers_appsignal_matching(AppSignal, TimerList) when is_record(TimerList, siptimerlist) ->
      make_siptimerlist(get_timers_something_matching2(appsignal, AppSignal, TimerList#siptimerlist.list, [])).
  
  
  extract(Values, SipTimer) when is_record(SipTimer, siptimer) ->
      extract(Values, SipTimer, []).
  
  extract([], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      Res;
  extract([ref | T], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      extract(T, SipTimer, lists:append(Res, [SipTimer#siptimer.ref]));
  extract([timeout | T], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      extract(T, SipTimer, lists:append(Res, [SipTimer#siptimer.timeout]));
  extract([description | T], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      extract(T, SipTimer, lists:append(Res, [SipTimer#siptimer.description]));
  extract([starttime | T], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      extract(T, SipTimer, lists:append(Res, [SipTimer#siptimer.starttime]));
  extract([appsignal | T], SipTimer, Res) when is_record(SipTimer, siptimer) ->
      extract(T, SipTimer, lists:append(Res, [SipTimer#siptimer.appsignal])).
  
  cancel_timer(SipTimer, TimerList) when is_record(SipTimer, siptimer), is_record(TimerList, siptimerlist) ->
      Timer = SipTimer#siptimer.timer,
      Ref = SipTimer#siptimer.ref,
      Descr = SipTimer#siptimer.description,
      logger:log(debug, "Siptimer: Cancelling timer ~p:~p", [Ref, Descr]),
      timer:cancel(Timer),
      remove_queued_result({siptimer, Ref, Descr}),
      make_siptimerlist(del_ref(Ref, TimerList#siptimerlist.list)).
  
  %% Receive all messages matching Signal from this processes mailbox. When there
  %% are no more signals matching Signal, return ok. This is to remove any signals
  
negative.code: %%%-------------------------------------------------------------------
  %%% File     : siptimer.erl
  %%% Author   : Fredrik Thulin <ft@it.su.se>
  %%% Descrip. : Module to manage timers, for use in client and server
  %%%            transactions. Make it easier to cancel timers and
  %%%            revive them when we get provisional responses etc.
  