.Calls Imports v2019.7
Capability
This Import enters all Calls into the system and associates them with their respective Service IDs. The Imported Calls will then be processed according to the Call Processing and Rating Logic.
Fields
Originating Number
Required
Datatype is String.
The From Number is sometimes looked up in VH Data table.
The following factors determine if and how this is done:
- If the From City, State, and LATA are provided, the lookup is not done.
- If the From Number is 4 digits long, the default NPA-NXX set in the Tenant Management grid is used.
- If the From Number is 7 digits long, the default NPA set in the Tenant Management grid is used.
- If the From Number length is not 4, 7, or 10, the From Number lookup is not done.
Dialed Number
Required
Datatype is String.
The To Number is sometimes looked up in VH Data table.
The following factors determine if and how this is done:
- If the To City, State, and LATA are provided, the lookup is not done.
- If the To Number starts with 011, the call is marked as International. Then, the VH lookup is not done.
- If the Call Type has already been determined to be International, Emergency, Mexico, Toll-Free, or Info, the VH lookup is not done.
- If the To Number is 4 digits long, the default NPA-NXX set in the Tenant Management grid is used.
- If the To Number is 7 digits long, the default NPA set in the Tenant Management grid is used.
- If the To Number is 11 digits long and starts with a 1, the 1 is removed before the lookup.
- If the To Number length is not 4, 7, 10 or greater, the To Number lookup is not done.
Call Date
Required if Call Date/Time is not provided.
Datatype is Date.
Call Time
Required if Call Date/Time is not provided.
Datatype is Time.
Call Date/Time
Required if Call Date and Call Time are not provided.
Datatype is DateTime.
Call Duration
Required
Datatype is String.
Auth Code
Datatype is String.
The Default value is blank.
Service Host
Datatype is String.
The Default value is blank.
The Call Rating needs to know the Service Host to use to assign Call Type and to Rate the call. By default, the Service Host of the Service will be used.
This field allows you to override the Service's Service Host value.
Service ID
Datatype is String.
The Service ID To Bill the Call.
The call is billed to the provided Service ID value.
This could be a Phone Number, Authcode, or Truck. Other Service Types are not considered. The Service must be Active or Inactive, and it must have a Service Host and Billing Group.
If an Authcode is provided, the Service ID is set to that Authcode.
If there is no Authcode, the Service ID is set to the ORiginating Number for Outgoing Calls or Dialed Number for Incoming Calls.
Bill Date
Datatype is Date.
Default value is Today's Date.
Call Type
Datatype is String.
Must be one of the CALLTYPE List Type values.
Common values are Local, Incoming, Intrastate, Interstate, International as well as others.
Cost
Datatype is String.
The Default value is $0.00.
Dialed City
Datatype is String.
The Default value is blank.
Dialed State
Datatype is String.
The Default value is blank.
Dialed LATA
Datatype is String.
The Default value is blank.
Originating LATA
Datatype is String.
Default value is blank.
Originating City
Datatype is String.
The Default value is blank.
Originating State
Datatype is String.
The Default value is blank.
Incoming Trunk
Datatype is String.
The Default value is blank.
Outgoing Trunk
Datatype is String.
Default value is blank.
Rating Method Inputs
Rate Tables
Maps to given Rate Table defined in Admin.
The rate must be found in the Call Rates Table.
Pass through cost in file
The costs for the call will come from the file that is being imported.
Flat Rate
Adds additional dialogue to set a flat rate.
The additional information comes from the fields in the Initial and Additional sections.
Errors
Because of the very large volume of Imported data that can occur for Calls and Usage Imports, the Error reporting is done very differently. For other Imports, if an Error happens, the Error is reported in the Imported Records grid. For Calls and Usage, the Error is stored as a code in the Call or Usage record. The available codes are in this list. This list is shared for Calls and Usage. Some of these are specifically for Calls and never happen for Usage.
Errors
An error occurred during the Import File Processing. This re-tries each night.
Unrecoverable Errors
An error occurred that cannot be fixed. It does not try again each night.
Rating Errors
An error during the rating process. This re-tries each night.
Billing Errors
Indicates an error occurred during the billing process.
Notes
- The Call Date and Time can be provided by the separate Date and Time fields or by the combined DateTime field.
- The Call Date and Time is considered invalid if it is more than 2 days in the future or if it is more than importFiles.ini.constants.CALL_MAX_AGE_DAYS old.
- The internal Call Processing logic does not determine if a Call is Incoming. If the Call type is Incoming, it must be assigned in the Conditional Logic.
- A Service must exist for each Call. The Service must exist as a Phone, an Authcode, or a Trunk. The other Service Types are not considered in the Service ID lookup.
- If a Service ID is provided, that value must exist as a Service.
- else for Incoming Calls, the Dialed Number must exist as a Service ID.
- else if an Authcode is provided, the Authcode Service ID must exist.
- else for all other Outgoing Calls, the From Number must exist as a Service ID.
Help Desk Portal - Email: help@pcr.com - Phone: 616.259.9242