Rates

Web based, multi-user, Telephone Management System with budget management and barring control

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Re: Rates

Postby John Richard Procter » Mon Sep 16, 2013 3:13 pm

Dear DCdata

We would like to run a test with your custome rates.

Please provide your tng.ini and rules.ini

tng.ini can be located in :

Code: Select all
/opt/datatex/tng


rules.ini can be located in :
Code: Select all
/opt/datatex/tng/plugins
[/list]

Kind Regards
John-Ri
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: Rates

Postby Dcdata » Wed Sep 18, 2013 10:08 am

Hi John

Please find the requested files In a private message sent. Please also note that we are going to use this custom rates on Multiple clients and need this to work without hassles, when placing this custom rate on other TNGLive clients.
Dcdata
 
Posts: 73
Joined: Mon Apr 08, 2013 2:30 pm

Re: Rates

Postby John Richard Procter » Mon Sep 23, 2013 10:48 am

Dear DC data

You cannot use , in pricing if you do you will not get a call type.

Code: Select all
Zone|Schedule|BillType |Min1 |Max1 |1Cost1 |1Secs1 |1Cost2 |1Secs2 |1Cost3 |1Secs3 |1Cost4 |1Secs4 |Min2 |Max2 |2Cost1 |2Secs1 |2Cost2 |2Secs2 |2Cost3 |2Secs3 |2Cost3 |2Secs3 |Min3 |Max3 |3Cost1 |3Secs1 |3Cost2 |3Secs2 |3Cost3 |3Secs3 |3Cost4 |3Secs4 |
M1 |A |S |0 |0 |0,010166667 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0
M2 |A |S |0 |0 |0,0085 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0
M3 |A |S |0 |0 |0,0085 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0
M4 |A |S |0 |0 |0,009166667 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0
A |A |S |0 |0 |0,003833333 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0
B |A |S |0 |0 |0,003833333 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0


In the documentation is shows all examples with a full stop .

Examples:

Code: Select all
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     |


It is still however not costing I am still investigating.
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: Rates

Postby John Richard Procter » Mon Sep 23, 2013 11:25 am

Dear DC Data

My problem was my time schedule which i had incorrect.

The custom rate is working with the following attached:
Dcdata rates fixed 2013-09-23.txt

Enable wordwrap

Below is my time period I used the rates for :
Code: Select all
TimeTableNr|DaysofWeekUsed(SMTWTFS)|RateNumberToUse(INTEGER 1..3)|StartTime(HH:MM)|EndTime(HH:MM)|
T1|NYYYYYN|1|07:00|20:00|
You do not have the required permissions to view the files attached to this post.
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: Rates

Postby John Richard Procter » Mon Sep 23, 2013 11:39 am

Make sure you have the new all custom.so in place.
It will be required otherwise the rate will not work.
after upgrade Custom rates cost at zero
John Richard Procter
 
Posts: 552
Joined: Tue May 03, 2011 2:02 pm

Re: Rates

Postby Dcdata » Mon Sep 30, 2013 2:39 pm

Hi John

The custom rate book is now costing but at the wrong price for example.
in my custom book i have the following:
M2 |A |S |0 |0 |0.0085 |1 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0 |0

as you can see the per second price is 0.0085 * 60 = R0.51 now when i do this on your call calculator i get the following.

ADDITIONAL VODACOM C - (ZA) Cellular M2 Dcdata-clive R0.58

Why is this where does the extra R0.07 cents come from?
Dcdata
 
Posts: 73
Joined: Mon Apr 08, 2013 2:30 pm

Re: Rates

Postby Belinda Frick » Wed Oct 02, 2013 10:03 am

If you multiply R 0,51 by 1,14 (ZA VAT factor) you get R 0,5814.

You need to exclude the VAT.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Previous

Return to TNG

Who is online

Users browsing this forum: No registered users and 1 guest