Difference between revisions of "CDR Import"

From Kolmisoft Wiki
Jump to navigationJump to search
m
Line 7: Line 7:


If the settings do not match your CSV file, you will not be able to import CDRs.
If the settings do not match your CSV file, you will not be able to import CDRs.
 
<br><br>
 
=Import=
=Import=


Line 26: Line 25:
[[File:Cdr_import_wrong_separators.png]]
[[File:Cdr_import_wrong_separators.png]]
<br><br>
<br><br>
Next you will have to assign columns to CDR values. In step 2, you can see the necessary fields to select. They are marked by a star (*). Without selecting at least one field marked by *, you will not be able to continue the import process. Select the appropriate settings and click '''Assign Columns''':
Next you will have to assign columns to CDR values. In step 2, you can see the necessary fields to select. They are marked by a star (*). Without selecting at least one field marked by *, you will not be able to continue the import process. Select the appropriate settings and click '''Assign Columns''':
<br><br>
<br><br>
[[Image:cdrimport2_2.png]]
[[Image:cdrimport2_2.png]]
<br><br>
<br><br>
Here you will be presented with a parsed file. If something is not right, click the '''Back''' button. If it's okay, click '''Confirm columns''':
Here you will be presented with a parsed file. If something is not right, click the '''Back''' button. If it's okay, click '''Confirm columns''':
<br><br>
<br><br>
[[Image:cdrimport3.png]]
[[Image:cdrimport3.png]]
<br><br>
<br><br>
Here you can choose method which should be used to assign calls to device:
Here you can choose method which should be used to assign calls to device:
<br><br>
<br><br>
Line 46: Line 42:
* '''Import by CallerID''' - allows to automatically assign calls to users by CallerID. It checks [[CLIs_(Incoming_CallerIDs)|CLIs]] on Device settings. If CLI matches with CallerID call is assigned to this Device.
* '''Import by CallerID''' - allows to automatically assign calls to users by CallerID. It checks [[CLIs_(Incoming_CallerIDs)|CLIs]] on Device settings. If CLI matches with CallerID call is assigned to this Device.
* '''Create CallerID''' - creates list of all CallerIDs on CDR file and allows to assign CallerIDs to Devices. It creates new CLIs.
* '''Create CallerID''' - creates list of all CallerIDs on CDR file and allows to assign CallerIDs to Devices. It creates new CLIs.
 
<br><br>
<br>
==Choosing provider ID during the import==
==Choosing provider ID during the import==


Line 56: Line 51:
[[Image:cdrimport5_2.png]]
[[Image:cdrimport5_2.png]]
<br><br>
<br><br>
When you choose to import provider ID in step 2, you can select Provider in step 6, but this is optional. This column will not be visible if you are not importing provider's ID.  
When you choose to import provider ID in step 2, you can select Provider in step 6, but this is optional. This column will not be visible if you are not importing provider's ID.  
<br><br>
<br><br>
[[Image:cdrimport6_4.png]]
[[Image:cdrimport6_4.png]]
<br><br>
<br><br>
= Export =
= Export =


Line 70: Line 63:


Just cick on one of these links and you will get CDR in the selected period.
Just cick on one of these links and you will get CDR in the selected period.
 
<br><br>
 
 
= Calls to DIDs =
= Calls to DIDs =


Line 78: Line 69:


Calls to DIDs which belong to the caller are not billed at all (Price = 0).
Calls to DIDs which belong to the caller are not billed at all (Price = 0).
<br><br>
=Use file exported form [[Last Calls]]=


Make sure that before exporting Last Calls, setting '''Show Full Source (CallerID Name and Number)''' in Settings Visual tab is '''unchecked''', otherwise CallerId will be exported not correctly and CDR import will be unsuccessful.
<br><br>
=== See also ===


=== See also ===
* [[How to create a csv file]]
* [[How to create a csv file]]

Revision as of 14:50, 29 April 2014

Configuration

In Configuration, make sure you select the correct options for these values:

  • CSV Column Separator.
  • CSV Decimal Separator.

If the settings do not match your CSV file, you will not be able to import CDRs.

Import

Sometimes MOR can be used as separate billing software (that is, other than for real-time billing). When using MOR as separate billing software, it is possible to import CDRs from other switches (they need not be Asterisk) and bill these CDRs.

CDR Import can be found in SETTINGS –> Billing –> CDR –> Import.

The first step is to select a CSV file to import:

Cdrimport1.png

Click on Upload file.

Sometimes MOR system is able to detect wrong CSV separator settings. If CSV separator settings are wrong MOR will suggest you to change them:

Cdr import wrong separators.png

Next you will have to assign columns to CDR values. In step 2, you can see the necessary fields to select. They are marked by a star (*). Without selecting at least one field marked by *, you will not be able to continue the import process. Select the appropriate settings and click Assign Columns:

Cdrimport2 2.png

Here you will be presented with a parsed file. If something is not right, click the Back button. If it's okay, click Confirm columns:

Cdrimport3.png

Here you can choose method which should be used to assign calls to device:

Cdrimport4 2.png

  • Select provider - allows to assign calls to certain provider. You will not see this option if you selected provider ID in step 2.
  • Import by user - allows to assign calls to one user.
  • Select user - user and device should be chosen here, when Import by user is selected.
  • Import by CallerID - allows to automatically assign calls to users by CallerID. It checks CLIs on Device settings. If CLI matches with CallerID call is assigned to this Device.
  • Create CallerID - creates list of all CallerIDs on CDR file and allows to assign CallerIDs to Devices. It creates new CLIs.



Choosing provider ID during the import

There is an option in step 2 where you can choose provider ID. System automatically selects tariff according to the ID from the file which is the same as Provider ID in MOR.

If there is provider ID in a file that doesn't exist in a system, file is not imported and you are informed about bad CDRs in step 5. If you chose to leave Provider ID not selected in step 2, everything is fine and you won't see the line "Bad CDRs".

Cdrimport5 2.png

When you choose to import provider ID in step 2, you can select Provider in step 6, but this is optional. This column will not be visible if you are not importing provider's ID.

Cdrimport6 4.png

Export

You can export CDR in either the PDF or the CSV format. This can be done in the Call Stats page (STATISTICS –> Calls) and other places where you see:

  • Pdf.png Export to PDF
  • Excel.png Export to CSV

Just cick on one of these links and you will get CDR in the selected period.

Calls to DIDs

Calls to DIDs are billed as for calls to normal numbers.

Calls to DIDs which belong to the caller are not billed at all (Price = 0).

Use file exported form Last Calls

Make sure that before exporting Last Calls, setting Show Full Source (CallerID Name and Number) in Settings Visual tab is unchecked, otherwise CallerId will be exported not correctly and CDR import will be unsuccessful.

See also