summaryrefslogtreecommitdiffstats
path: root/kppp/Rules/Japan/NTT_Local.rst
blob: c9ded14e8147ab66709e8c04ec87830999e78c73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
################################################################
# This is the rule set for Japan, local NTT charge
#
# Jacek Cwielong <cwielong@annie.co.jp>
################################################################


################################################################
#
# NAME OF THE RULESET. This is NEEDED for accounting purposes.
#
################################################################
name=NTT-Local

################################################################
# currency settings
################################################################

# defines JPY (Japanese Yen) to be used as currency
currency_symbol=JPY

# Define the position of the currency symbol.
currency_position=right

# Define the number of significat digits.
# (not absolutely needed, default is "2"
currency_digits=2

################################################################
# connection settings
################################################################

# NOTE: rules are applied from top to bottom - the
#       LAST matching rule is the one used for the
#       cost computations.

# This is charged whenever you connect. If you don't have to
# pay per-connection, use "0" here or comment it out.
per_connection=0.0

# minimum costs per connection. If the costs of a phone
# call are less than this value, this value is used instead
minimum_costs=0.0

# This is the default rule which is used when no other rule
# applies. The first component "10" is the price of one
# "unit", while "180" is the duration in seconds.
# Therefore the following rule means: "Every 180 seconds
# 10 YPJ are added to the bill"
default=(10,180)

# applies 8am until 11pm: every 180 seconds 10 JPY
# are added to the bill
on () between (8:00..22:59) use(10,180)

# applies 23pm until 8am: every 240 seconds 10 JPY
# are added to the bill
on () between (23:00..7:59) use(10,240)