# CDR Records

**URL:** <https://community.asterisk.org/t/cdr-records/5027>\
**Category:** Asterisk Support\
**Created:** [March 14, 2006, 7:28pm UTC](https://community.asterisk.org/t/cdr-records/5027 "2006-03-14T19:28:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmikusa](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dmikusa](https://community.asterisk.org/u/dmikusa)\
**Post date:** [March 14, 2006, 7:28pm UTC](https://community.asterisk.org/t/cdr-records/5027/1 "2006-03-14T19:28:27Z")

</div>

I have a question about cdr records.

I am originating a call from my Asterisk box with SIP to another Asterisk box. When I start the call, the receiving Asterisk box doesn’t answer, so the call times out.

When this happens I check my CDR and now have two records.

| 2006-03-14 13:36:58 | XXXXXXXXXX | XXXXXXXXXX | s | out-dial-trz | SIP/sip\_proxy\_wendy\_out-8b83 | | Dial | SIP/3306876327@sip\_proxy\_wendy\_out | 0 | 0 | NO ANSWER | 3 | | 1142361388.0 | |  
| 2006-03-14 13:36:58 | | | s | default | **Unknown** | | | | 0 | 0 | FAILED | 3 | | 1142361418.1 | |

I’ve inserted the X’s on purpose. I do not believe that the second record should exist. Am I correct in assuming that this is a bug? or Is this the expected behavior?

---

<div class="post-metadata">

**Author:** ![bira\_more](https://avatars.discourse-cdn.com/v4/letter/b/bbce88/32.png) [@bira\_more](https://community.asterisk.org/u/bira_more)\
**Post date:** [March 15, 2006, 10:47am UTC](https://community.asterisk.org/t/cdr-records/5027/2 "2006-03-15T10:47:10Z")

</div>

I saw two records for one call only when I am trying to make callback.  
As a metter of fakt - callback consists from two calls.  
And one of them is very similar to your second record.

How you are making call?  
From one Asterisk to ather?

---

<div class="post-metadata">

**Author:** ![dmikusa](https://avatars.discourse-cdn.com/v4/letter/d/e47c2d/32.png) [@dmikusa](https://community.asterisk.org/u/dmikusa)\
**Post date:** [March 15, 2006, 2:54pm UTC](https://community.asterisk.org/t/cdr-records/5027/3 "2006-03-15T14:54:47Z")

</div>

I’m using the manager API to originate a call on one asterisk box, i’ll call it ‘A’. The call is directed to an extension on another asterisk box, i’ll call it box ‘B’.

If A calls B and B answers, there is one CDR record.  
If A calls B and B is busy, there is one CDR record.  
If A calls B and B doesn’t answer, there are two CDR records?

I’m wondering why there is an inconsistency. It should either be two all the time or one all the time. I don’t think the second CDR record actually has any valid information. Does this seem like a bug to anyone else?
