################################################################
#
# This is a sample ruleset for kppp. You can use it as a 
# template when you have to create your own ruleset. If you do
# so, remove my comments and add your own ones. This will allow
# other users to check your ruleset easily.
#
# NOTE: the rules in this ruleset do not make much sense and
#       are only for demonstration purposes
#
# NOTE ON FILENAMES:
#	when you create your own ruleset, use "_" in filename
#	instead of spaces and use ".rts" as extension
#	   i.e. "Austria city calls"
#          --> file should be saved as "Austria_city_calls.rts"
#
################################################################


################################################################
#
# NAME OF THE RULESET. This is NEEDED for accounting purposes.
#
################################################################
name=default

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

# defines ATS (Austrian Schilling) to be used as currency
# symbol (not absolutely needed, default = "$")
currency_symbol=ATS

# the currency is placed after the number.
# (not absolutely needed, default is "right")
currency_position=right 

# use two significant digits
# (not absolutely needed, default is "2"
currency_digits=2



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

# NOTE: rules are applied from top to bottom - so only the
#       LAST matching rule is applied. Make sure that the
#       more "general" (more often used) rules are before
#       more specific rules.

# 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 per connection. If the costs of a phone
# call are < 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 "0.1" is the price of one
# "unit", while "72" is the duration of such a unit in seconds.
# This rule means: "Every 72 seconds 0.1 ATS is added to the bill"
default=(0.1, 72)

#
# here are some examples
#

# "on monday until sunday from 0:00 am until 11:59 pm the costs
# are 0.2 per 72 seconds"
on () between () use (0.2, 2)

# same as above
on (monday..sunday) between () use (0.2, 2)

# same as above (don't use the english time notion am and pm, 
# it will not work. i.e. for 3 pm write 15:00)
on (monday..sunday) between (0:00..23:59) use (0.2, 2)

# applies on friday, saturday, sunday and monday 8am until 1pm
on (friday..monday) between (8:00..13:00) use(0.3,72)

# applies on a given date (christmas)
on (12/25) between () use (0.3,72)

# a range of dates and one weekday
on (12/25..12/27, 12/31, 07/04, monday) between () use (0.4, 72)

# use this for easter
on (easter) between () use (0.3,72)

# easter + 60 days (Pfingstmontag/ Pentecost Monday )
on (easter+60) between () use (0.3,72)

on (thursday) between (20:00..21:52) use (8.2, 1)
