Custom rates costing incorrectly

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

Custom rates costing incorrectly

Postby Belinda Frick » Mon Jul 09, 2018 3:47 pm

OVERVIEW:

I configured a Simple Custom ratebook.

Calls for prefixes in ini file will cost at custom rate and not in file will overflow to:
RATE=za_telkom.dll

The custom ratebook is selected under TRUNK CONFIGURATION.

Some calls cost incorrect.

THINGS TO CHECK:

  1. The Simple Custom ratebook can only cost the prefixes you specified.
    Ensure your list is completed.

    NOTE: You can configure a default rate book:

    C:\Program Files (x86)\Datatex\tng\rates

    In this example all 06 prefixes are costed by the Custom ratebook.
    If prefix not found it will use the Telkom standard rates.
    If you want no default ratebook, then leave it blank next to 'RATE='

    Code: Select all
    ;code=S,Cost PerSec,MinCost,RateType,Desc

    RATE=za_telkom.dll
    27615=S, 0.016520, 0, M, CELLC,
    27616=S, 0.016520, 0, M, CELLC,
    27617=S, 0.016520, 0, M, CELLC,
    27618=S, 0.016520, 0, M, CELLC,
    27619=S, 0.016520, 0, M, CELLC,
    27620=S, 0.016520, 0, M, CELLC,
    27621=S, 0.016520, 0, M, CELLC,
    27622=S, 0.016520, 0, M, CELLC,
    27623=S, 0.016520, 0, M, CELLC,
    27624=S, 0.016520, 0, M, CELLC,
    27625=S, 0.016520, 0, M, CELLC,
    27626=S, 0.016520, 0, M, CELLC,
    27627=S, 0.016520, 0, M, CELLC,
    27628=S, 0.016520, 0, M, CELLC,
    27629=S, 0.016520, 0, M, CELLC,
    27630=S,0.016520,0.0,M,MTN,
    27631=S,0.016520,0.0,M,MTN,
    27632=S,0.016520,0.0,M,MTN,
    27633=S,0.016520,0.0,M,MTN,
    27634=S,0.016520,0.0,M,MTN,
    27635=S,0.016520,0.0,M,MTN,
    27636=S,0.016520,0.0,M,Vodacom,
    27637=S,0.016520,0.0,M,Vodacom,
    27640=S,0.016520,0.0,M,MTN,
    27641=S, 0.016520, 0, M, CELLC,
    27642=S, 0.016520, 0, M, CELLC,
    27643=S, 0.016520, 0, M, CELLC,
    27644=S, 0.016520, 0, M, CELLC,
    27645=S, 0.016520, 0, M, CELLC,
    27646=S,0.016520,0.0,M,Vodacom,
    27647=S,0.016520,0.0,M,Vodacom,
    27648=S,0.016520,0.0,M,Vodacom,
    27649=S,0.016520,0.0,M,Vodacom,
    27654=S, 0.016520, 0, M, CELLC,
    27658=S, 0.016520, 0, N, TELKOM,
    27659=S, 0.016520, 0, N, TELKOM,
    27660=S,0.016520,0.0,M,Vodacom,
    27661=S,0.016520,0.0,M,Vodacom,
    27662=S,0.016520,0.0,M,Vodacom,
    27663=S,0.016520,0.0,M,Vodacom,
    27664=S,0.016520,0.0,M,Vodacom,
    27665=S,0.016520,0.0,M,Vodacom,

    NOTE: This is an example of the content of the ini file in the rates folder. Refer to last step.
    The ini file must have the same name as your rates dll, for example 'all_custom_simple.ini'

  2. VAT Factor
    Make sure VAT Factor is correct.

  3. For latest version: Windows dll

    Once downloaded, then unrar the file - password is 'datatex'.
    Save in folder C:\Program Files (x86)\Datatex\tng\rates
    NOTE:You need to replace the existing 'all_custom_simple.dll' to update it.

    For Linux version refer to point 5 to download.

  4. Please use TNG verssion 1.1.1.12 or newer
    TNG 1.1.1.12 Download Links

  5. Follow steps to ensure custom rates was configured correct:
    TNG - Simple Custom Rate

SUMMARY OF CUSTOM RATES UPDATES STEPS:

  • Upgrade TNG to version 1.1.1.12
  • Stop the TNG service
  • Save 'all_custom_simple.dll' to:
    C:\Program Files (x86)\Datatex\tng\rates
  • Create 'all_custom_simple.ini' in the same folder and
    copy example ini content to it(refer to step 1).
    Now update the rates as per your provider - for more details refer to TNG - Simple Custom Rate
  • Start the TNG service.
  • Select the new ratebook under Trunk Configuration:
    1. as your default ratebook.
    2. Add all trunk lines and select custom ratebook for each.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (TNG)

Who is online

Users browsing this forum: No registered users and 1 guest

cron