anchor.diff:  
   
   %% @doc Finds all existing dialogs having a `Call-ID'.
  --spec get_all(nksip:app_id(), nksip:call_id()) ->
  +-spec get_all(term()|nksip:app_id(), nksip:call_id()) ->
       [nksip:id()].
   
   get_all(App, CallId) ->
  
positive.code:     end.
  
  
  %% @doc Gets the dialog object corresponding to a request
  -spec get_dialog(nksip:request()|nksip:response(), nksip:call()) ->
      nksip:dialog()|error.
  
  get_dialog(#sipmsg{dialog_id=DialogId}, #call{}=Call) ->
      case nksip_call_dialog:find(DialogId, Call) of
          not_found -> error;
          Dialog -> {ok, Dialog}
      end.
  
  
  %% @doc Gets all started dialog ids.
  
negative.code: 
  
  %% @doc Gets app's name
  -spec app_name(nksip:dialog()|nksip:id()) -> 
      term().
  
  app_name(Dialog) -> 
      (app_id(Dialog)):name().
  
  
  %% @doc Gets thel Call-ID of a dialog
  