# Raw Switch Data

Class 4 automatically store all PCAPs and CDRs to the local disk.  However, if the local disk is less than 15% free space, Class 4 will stop to terminate calls.  This is done so that Class 4 will not terminate calls if it can't generate CDRs for the billing purpose.&#x20;

You can find the CDRs in the following directory:

```
 [root@Server11 ~]# ls -al /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/2021041202*
-rw-r--r-- 1 root root  3834 Apr 12 02:00 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120200.cdr
-rw-r--r-- 1 root root  8255 Apr 12 02:01 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120201.cdr
-rw-r--r-- 1 root root  3977 Apr 12 02:02 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120202.cdr
-rw-r--r-- 1 root root  6870 Apr 12 02:04 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120203.cdr
-rw-r--r-- 1 root root  6086 Apr 12 02:04 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120204.cdr
-rw-r--r-- 1 root root  3760 Apr 12 02:05 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120205.cdr
-rw-r--r-- 1 root root 10095 Apr 12 02:07 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120206.cdr
-rw-r--r-- 1 root root  3743 Apr 12 02:07 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120207.cdr
-rw-r--r-- 1 root root  4480 Apr 12 02:08 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120208.cdr
-rw-r--r-- 1 root root  4468 Apr 12 02:09 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120209.cdr
-rw-r--r-- 1 root root 10092 Apr 12 02:11 /opt/denovo_v6/dnl_softswitch/cdr/2021/04/12/02/202104120210.cdr

```

{% hint style="info" %}
&#x20;All CDR files are stored in per-minute interval.
{% endhint %}

You can find the PCAPs in the following directory:

{% code title=" " %}

```bash
[root@Server11 ~]# ls -al /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120*
-rw-r--r-- 1 root root 547753 Apr 12 00:01 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120000.pcap
-rw-r--r-- 1 root root 357445 Apr 12 00:02 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120001.pcap
-rw-r--r-- 1 root root 361848 Apr 12 00:03 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120002.pcap
-rw-r--r-- 1 root root 614852 Apr 12 00:04 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120003.pcap
-rw-r--r-- 1 root root 372762 Apr 12 00:05 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120004.pcap
-rw-r--r-- 1 root root 349719 Apr 12 00:06 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120005.pcap
-rw-r--r-- 1 root root 343978 Apr 12 00:07 /opt/denovo_v6/dnl_softswitch/pcap/20210412/202104120006.pcap
```

{% endcode %}

{% hint style="info" %}
PCAP is store in a per-minute file.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cookbook.denovolab.com/data-access/raw-switch-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
