Difference between revisions of "Call Detail Records"

From FusionPBX
Jump to: navigation, search
(POSSIBLE ISSUES)
(Possible issues)
Line 9: Line 9:
  
 
===Possible issues===
 
===Possible issues===
'''Note:''' if you have no records showing up under Apps-Call Detail Records this is probably because
+
'''Note:''' if you have no records showing up under Apps-Call Detail Records this is probably because  
'''The module is disabled'''.   
+
'''1. The module is disabled'''.   
 
  - Older installations of FusionPBX had the CDR CSV module enabled and the XML CDR module disabled.
 
  - Older installations of FusionPBX had the CDR CSV module enabled and the XML CDR module disabled.
 
  - If you reverse this situation you will then get call detail records.  You will also need to start
 
  - If you reverse this situation you will then get call detail records.  You will also need to start
Line 21: Line 21:
 
  XML CDR.
 
  XML CDR.
  
'''Wrong xml_cdr.conf.xml config'''
+
'''2. Wrong xml_cdr.conf.xml config'''
 
  - check '''<param name="url" value="<nowiki>http://localhost/mod/xml_cdr/v_xml_cdr_import.php</nowiki>"/>''' and adapt it to your situation.
 
  - check '''<param name="url" value="<nowiki>http://localhost/mod/xml_cdr/v_xml_cdr_import.php</nowiki>"/>''' and adapt it to your situation.
  

Revision as of 23:32, 19 January 2011

Menu: (Apps-Call Detail Records)

Call Detail Records ( also known as call data record or CDR ) are detailed information on the calls. The information contains source, destination, duration, and other useful call details. Use the fields to filter the information for the specific call records that are desired. Then view the calls in the list or download them as comma seperated file by using the 'csv' button.

Note that this page makes use of XML CDR for reporting.

Recordings

Any calls which have the entry in the name column underlined (ie. the name is a link) have a recording available. Clicking on the name will playback the recording in a new window. In such cases the number entry will also be a link - clicking on this link will download the recording to your computer as a wav file.

Possible issues

Note: if you have no records showing up under Apps-Call Detail Records this is probably because 1. The module is disabled.

- Older installations of FusionPBX had the CDR CSV module enabled and the XML CDR module disabled.
- If you reverse this situation you will then get call detail records.  You will also need to start
the XML CDR module after you have done this.  Note that if you want to see your old CDR CSV records, 
after the change, or you really want to continue using CDR CSV you can go to Menu Manager and unhide 
the CDR CSV menu.
Note that call recordings can be downloaded from the Call Detail Records page, but this capability is 
not currently provided in CDR CSV - so if you need to use call recordings it would be better to use 
XML CDR.

2. Wrong xml_cdr.conf.xml config

- check <param name="url" value="http://localhost/mod/xml_cdr/v_xml_cdr_import.php"/> and adapt it to your situation.

Additional information

XML CDR configuration

For more detailed configuration go to the XML editor (Advanced menu) and in autoload configs look at xml_cdr.conf.xml

- note that by default only the a-leg of the call is logged THEREFORE if you make a recording of 
the b-leg you won't be able to retrieve it using the Call Detail Records.  If you want the b-leg
as well you need to change log-b-leg=true in this config.

Harddrive space usage

- note that XML CDR data adds up fast, therefore you may need to clear this data at some point in
the future.  By default freeswitch keeps this in /usr/local/freeswitch/log/xml_cdr/archive and
inside that by year, month and day
- recordings also take up space and have to be manually deleted if you want the space back - these 
are kept in /usr/local/freeswitch/recordings/archive and inside that by year, month and day

see Storage management for more information about things that take up space on your system.