[Asterisk-Users] Asterisk CDR Bug Or Not?

Ronald Hartmann RHartmann at nnamtraH.com
Mon May 2 09:59:01 MST 2005


Good Day list,

	It appears that the CDR is inaccurate, (or I am inaccurate when
reading it) when an attended transfer is conducted with a phones
transfer button

	Example

+---------------------+--------------------------------+------------+---
-----------+---------------+---------------+---------------+----------+-
-------------------------+----------+---------+-------------+----------+
-------------+----------------+-----------+
| calldate            | clid                           | src        |
dst          | dcontext      | channel       | dstchannel    | lastapp
| lastdata                 | duration | billsec | disposition | amaflags
| accountcode | uniqueid       | userfield |
+---------------------+--------------------------------+------------+---
-----------+---------------+---------------+---------------+----------+-
-------------------------+----------+---------+-------------+----------+
-------------+----------------+-----------+
| 2005-05-02 12:50:32 | "ron hartmann" <2004>          | 2004       |
2097         | from-internal | SIP/2004-8835 | SIP/2096-73a9 | ResetCDR
| w                        |        0 |      33 | ANSWERED    |        3
|             | 1115052597.220 |           |
| 2005-05-02 12:50:22 | "ron hartmann" <2004>          | 2004       |
2097         | from-internal | SIP/2096-2ee4 | SIP/2097-7d9f | ResetCDR
| w                        |       10 |       8 | ANSWERED    |        3
|             | 1115052622.223 |    


I initially called extension 2096 from my extension 2004 I then Attended
transfer to extension 2097.

The problem is that if I look under dst, it shows both calls as
extension 2097 (which is the final extension).

Is this a bug, or desired effect?

I would think it should look like the following

+---------------------+--------------------------------+------------+---
-----------+---------------+---------------+---------------+----------+-
-------------------------+----------+---------+-------------+----------+
-------------+----------------+-----------+
| calldate            | clid                           | src        |
dst          | dcontext      | channel       | dstchannel    | lastapp
| lastdata                 | duration | billsec | disposition | amaflags
| accountcode | uniqueid       | userfield |
+---------------------+--------------------------------+------------+---
-----------+---------------+---------------+---------------+----------+-
-------------------------+----------+---------+-------------+----------+
-------------+----------------+-----------+
| 2005-05-02 12:50:32 | "ron hartmann" <2004>          | 2004       |
2096         | from-internal | SIP/2004-8835 | SIP/2096-73a9 | ResetCDR
| w                        |        0 |      33 | ANSWERED    |        3
|             | 1115052597.220 |           |
| 2005-05-02 12:50:22 | "ron hartmann" <2004>          | 2004       |
2097         | from-internal | SIP/2096-2ee4 | SIP/2097-7d9f | ResetCDR
| w                        |       10 |       8 | ANSWERED    |        3
|             | 1115052622.223 |    

Thanks

~ron




More information about the asterisk-users mailing list