TNG Export format for TES

,

This is the format that TNG exports.

UniqueID|yyyy/mm/dd hh:mm:ss|extensionnumber|extensionname
|username|department|number|DIDdigits|Destination
|IncomingOutgoing|Duration(hh:mm:ss)|trunkline|Action|Pulses
|CostingUnit|RingTime(seconds)|AccountCode|Cost|Reference
|Private or Business Flag|Phonebook Category|Trunk Name
|Account Name|Ratebook Name|CallType|BranchCode|Price|MyLink|

MYCOMP395763|2022/06/08 00:27:22|5406|Quality Control|Leon PIN|Abattoir|27842000000||GSM CELL C - (ZA)|O|00:00:57|17|O_NORMAL|0|N|0||1.14|ID23|0||Please Add||za_telkom|Cellular|058|1.14||
MYCOMP395764|2022/06/08 00:29:19|5406|Quality Control|Leon PIN|Abattoir|27844000000||GSM CELL C - (ZA)|O|00:01:17|19|O_NORMAL|0|N|0||1.39|ID23|0||Please Add||za_telkom|Cellular|058|1.39||
MYCOMP395765|2022/06/08 00:49:54|5499|Beheerkamer||Sekuriteit|27580000000||ECN GEOGRAPHIC - (ZA)|O|00:01:05|20|O_NORMAL|0|N|0||0.55|ID23|0||Please Add||za_telkom|Other|058|0.55||
MYCOMP395766|2022/06/08 01:06:07|5499|Beheerkamer||Sekuriteit|27580000000||ECN GEOGRAPHIC - (ZA)|I|00:00:00|9|I_UNANSWER|0|N|0||0|ID12|0||Please Add||za_telkom|Other|058|0||
MYCOMP395767|2022/06/08 01:06:13|5499|Beheerkamer||Sekuriteit|27580000000||ECN GEOGRAPHIC - (ZA)|I|00:00:59|65|I_ANSWERED|0|N|6||0|ID12|0||Please Add||za_telkom|Other|058|0||
MYCOMP395768|2022/06/08 01:16:01|5586|Beheerkamer ||Sekuriteit|27679200000|||O|00:00:26|23|O_NORMAL|0|N|0||0|ID23|0||Please Add||za_telkom|Other|058|0||
MYCOMP395769|2022/06/08 01:17:31|5586|Beheerkamer ||Sekuriteit|27679200000|||O|00:00:18|25|O_NORMAL|0|N|0||0|ID23|0||Please Add||za_telkom|Other|058|0||

UniqueID
[36 Chars]
Unique ID for the call record. Duplicae Unique IDs will not be loaded into TES.

yyyy/mm/dd hh:mm:ss
Date and Time of the start of the call record.

extensionnumber
The extension number for the call record.

extensionname
The Name associated with the extension

username
The Username associated with the Pin code, if there is a pin code and the extension name, if there is no pin code.

department
The Department linked to the Extension.

number
Phone number to be displayed on reports

DIDdigits
DID / DDi numbers for incoming calls. Not used on any reports to date.

Destination
Description of the number used on the call.

IncomingOutgoing
call direction.
I for Incoming
O for Outgoing

Duration
Duration of the call in hh:mm:ss
If the call was unanswered, the duration is usually set to 0 and the duration added to the ring time.

trunkline
The trunk / Line used to make this call.

Action
Call Outcome
O_NORMAL = Outgoing Normally answered Call
I_ANSWERED = Incoming Answered Call.
I_UNANSWER = Incoming call that was not answered

Pulses
If the system supports pulses this will be the pulse count.
This was an old method of calculating proper units for costing.

CostingUnit
Set to ā€œNā€
Unit value used to calculate the cost of a call. Not used, if the cost has already been calculated.

RingTime
In seconds
The number of seconds the call rang.

AccountCode
Accounting code used for billing or grouping certain calls under the same account.

Cost
Cost of the call, no currency Symbol. This is defined in the company settings.
E.g 1.99

Reference
If there was a reference on the call for tracking puproses. Not used on reports.

Private or Business Flag
1=Private
0=Business

Phonebook Category
If the call was categorized int he TNG phonebook. The value will be stored here.
Can leave blank.

Trunk Name
If there is a name associated with the trunk.
E.g. Vodacom or Telkom or MySIP Line

Account Name
If there is a descriptive name given to the Accounting Code.
Can be left blank.

Ratebook Name
Description of the Ratebook used to calculate this calls cost.
E.g. za_telkom

CallType
Used to group call types together on reporting.
Local
Long distance
Cellular
Other
International

BranchCode
Diacode for the branch where this date is coming from

Price
If the Cost of the call should have an adjust value. E.g. Added markup.

MyLink
Unique ID for a call to be used for tracking data.


Proposed additional fields

These fields may be used to load a call record directly into the correct company and branch. These values can be stored in third party systems to add to a call record to allow mixed sets of company data to be combined in a single file for processing.

TES Company ID
Get this from the Company ID when the Company is created.

TES Branch ID
Get this from the branch, when the Branch is created.

TES Branch GUID
[36 Chars]
Get this from the TES Web interface and this needs to be next to each call record.

TES Call_UNIT_Type
BYTES = Bytes used for data.
CONTRACT =
GPRS = GPRS data used.
INTERNATIONAL SMS = SMSes used.
LOCAL/NATIONAL =
MMS =
MOBILE TO MOBILE =
MOBILE TO MOBILE OTHER NETWORK =
NETWORK SERVICES =
OTHER =
PBX CALL = PABX SMDR record
PREMIUM SMS =
ROAMING SMS =
SMS =
TELKOM MOBILE =
TELKOM MOBILE - SMS =
WASP RATED CONTENT =