anchor.diff:      ok.
   
   sipmsg(AppId, _CallId, Header, Transport, Binary) ->
  -    case AppId:config_trace() of
  +    case AppId:config_nksip_trace() of
           {File, all} ->
               AppName = AppId:name(),
               Msg = print_packet(AppName, Header, Transport, Binary),
  
positive.code:     case File of
          console ->
              io:format("\n        ---- ~f ~s", [Time, Msg]);
          file ->
              case nksip_config:get({nksip_trace_file, AppId}) of
                  {File, Device} ->
                      Txt = io_lib:format("\n        ---- ~f ~s", [Time, Msg]),
  
negative.code:                 {ok, _} -> ok;
                  {error, Error} -> {error, Error}
              end;
          not_found ->
              {error, sipapp_not_found}
      end.
  
  