Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-roper committed Oct 26, 2015
1 parent 89f4b9e commit 8b860c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/user-guide-doc/admin_panel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Dashboard page for the admin interface after successful login with superuser cre
CDR Manual Import / Export
--------------------------

CDR-Stats have a tool to import manually CDRs from CSV, Json, Excel & Yaml.
The first lines of the import file should contain the following header names "switch,cdr_source_type,callid,caller_id_number,caller_id_name,destination_number,dialcode,state,channel,starting_date,duration,billsec,progresssec,answersec,waitsec,hangup_cause_id,hangup_cause,direction,country_code,accountcode,buy_rate,buy_cost,sell_rate,sell_cost,extradata".
There is a tool in CDR-Stats to manually import CDRs from CSV, JSON, Excel & YAML.
The first line of the import file should contain the following header names "switch,cdr_source_type,callid,caller_id_number,caller_id_name,destination_number,dialcode,state,channel,starting_date,duration,billsec,progresssec,answersec,waitsec,hangup_cause_id,hangup_cause,direction,country_code,accountcode,buy_rate,buy_cost,sell_rate,sell_cost,extradata".

Example of a CDR csv file to import:
::
Expand All @@ -47,10 +47,10 @@ Note:

- cdr_source_type is an integer to define from where the CDR comes from (UNKNOWN = 0, CSV = 1, API = 2, FREESWITCH = 3, ASTERISK = 4, YATE = 5, KAMAILIO = 6, OPENSIPS = 7, SIPWISE = 8, VERAZ = 9)

- extradata is a Json field, if empty you have to set it as `{}`
- extradata is a JSON field, if empty you have to set it as `{}`


From CDR Import admin page, you will also be able to export your CDRs to CSV, Json, HTML, Ods, Excel & Yaml.
From CDR Import admin page, you will also be able to export your CDRs to CSV, JSON, HTML, ODS, Excel & YAML.


**URL**:
Expand Down

0 comments on commit 8b860c5

Please sign in to comment.