TNG Custom Rate Configuration and Format |
-
Configuring Custom Rates
The first 3 fields are:
- Zone e.g This is the Zone number that is used by the exchange file to cost a call on.
To see what the zone is you can do a call calculation in TNG for a number and it will display the Zone.
- Schedule e.g the schedule ID that it musst use from the Time Schedule File.
- Billing Type e.g : Two billing types are available, U for Unit, or S for per Second.
The rest of the file consists of 3 rate sections each consisting of the following:
- Min e.g. The Minimum charge for a call
- Max e.g. The Maximum charge for a call
- Cost1 e.g. if Billing type set to U, then this is the cost for the first Unit.
If Billing type set to S, this is the cost per second.
- Secs1 e.g. if Billing type is set to U, this is the duration of the first Unit.
If Billing is set to S, then this is how many seconds it should charge this rate for.
- Cost2 e.g. if Billing type set to U, then this is the cost for the second Unit.
If Billing type set to S, this is the cost per second.
- Secs2 e.g. if Billing type is set to U, this is the duration of the second Unit.
If Billing is set to S, then this is how many seconds it should charge this rate for.
- Cost3 e.g. if Billing type set to U, then this is the cost for the third Unit.
If Billing type set to S, this is the cost per second.
- Secs3 e.g. if Billing type is set to U, this is the duration of the third Unit.
If Billing is set to S, then this is how many seconds it should charge this rate for.
- Cost4 e.g. if Billing type set to U, then this is the cost for the forth and following Units.
If Billing type set to S, this is the cost per second.
- Secs4 e.g. if Billing type is set to U, this is the duration of the forth Unit.
If Billing type is S, this will be repeated through the rest of the call duration.
The costing process works on charge costX for SecsX and then costX+1 for SecsX+1 and so on.
When it gets to the Cost4 it repeats this cost throughtout the rest of the call duration.
If a SecsX value is 0 or absent or invalid, it will use the previous cost values for the remainder of the call.
If the following secs is 0 or absent it will use the prior cost value.
Also note that all costs must be entered excluding VAT as the VAT Factor will be take into account when the call calculation takes place.
RATES EXAMPLES:
Zone|Schedule|BillType|Min1|Max1|1Cost1|1Secs1|1Cost2|1Secs2|1Cost3|1Secs3|1Cost4|1Secs4|Min2|Max2|2Cost1|2Secs1|2Cost2|2Secs2|2Cost3|2Secs3|2Cost3|2Secs3|2Cost4|2Secs4|
A |T1 |U |0.50|0 |0.50 |60 |0.25 |30 |0 |0 |0 |0 |0.40|5.00|0.40 |60 |0 |0 |0 |0 |0 |0 |0 |0 |
This will use time schedule T1 and per unit billing as follows:
Rate1 will charge 50 cents for the first minute or part thereof and then 25 cents per 30 seconds intervals e.g
a call of from 1 to 60 seconds will cost 50 cents, a call of 61 to 90 seconds will cost 75 cents.
Rate2 will charge 40 cents for the first minute and every minute thereafter and there is a maximum call charge of 500 cents.(5Rand, Dollars)
Zone|Schedule|BillType|Min1|Max1|1Cost1|1Secs1|1Cost2|1Secs2|1Cost3|1Secs3|1Cost4|1Secs4|Min2|Max2|2Cost1|2Secs1|2Cost2|2Secs2|2Cost3|2Secs3|2Cost3|2Secs3|2Cost4|2Secs4|
A |T2 |S |0.20|0 |0.005 |60 |0.001 |240 |0.01 |1 |0 |0 |0 |0 |0.0033|1 |0 |0 |0 |0 |0 |0 |0 |0 |
This will use time schedule T1 and per second billing as follows:
Rate1 will charge 0.5 cents for the the first 60 seconds and then 0.1 cents per second for the next 4 minutes(240seconds) and thereafter 1 cent per second.
There is also a minimum charge of 20 cents for a call. e.g.
a call of from 1 to 40 seconds will cost 20 cents and then per second billing comes in.
Rate2 has no maximum or mimimum and charges 0.33 cents per second.
TIME SCHEDULES
The Time File consists of the following:
- Time Table Nr : The schedule number that is referenced by the Zone Rate File.
- DaysofweekUsed(SMTWTFS) : The days of the week that it is active indicated by a Y for Yes or a N for N and the first day as Sunday.
- RateNumberToUse : a value between 1 and 3 that indicates which rate section it must use in the Zone Rate File.
- StartTime: The Time in HH:MM format when the rate becomes active.
- EndTime : The Time in HH:MM format when the rate becomes inactive.
TIME EXAMPLES:
N.B : If a rate entry is not matched, it will automatically use Rate2.
TimeTableNr|DaysofWeekUsed(SMTWTFS)|RateNumberToUse(INTEGER 1..3)|StartTime(HH:MM)|EndTime(HH:MM)|
T1 |NYYYYYN |1 |07:00 |20:00 |
T1 |NNNNNNY |1 |08:00 |13:00 |
T1 |YNNNNNN |3 |00:00 |23:59 |
T1 |NYNNNNN |3 |00:00 |07:00 |
This means from Monday to Friday 07:00 to 20:00 schedule T1 must use Rate 1 and on Saturdays 08:00 to 13:00 Rate 1 as well.
On Sundays the whole day and Mondays till 07:00 rate 3 will be used.
Any other time not within this range will use rate2.
Typically you will only need something like this.
TimeTableNr|DaysofWeekUsed(SMTWTFS)|RateNumberToUse(INTEGER 1..3)|StartTime(HH:MM)|EndTime(HH:MM)|
T1 |NYYYYYN |1 |07:00 |20:00 |
meaning Rate 1 between 7am and 8pm weekdays and Rate2 any other time.
For support E-Mail us at: Support@Datatex.co.za.
Datatex Copyright
This information is provided "AS IS" without warranty and may be posted
to public networks individually in response to specific questions as a
public service but no other reproduction, transmittal or storage, in any
form, is permitted without prior written permission from the copyright
owner. Copyright infringement is a serious matter under the International
Copyright Laws.
Information in this document is subject to change without notice and
does not represent a commitment on the part of
Datatex Dynamics CC