summaryrefslogtreecommitdiffstats
path: root/kppp/Rules/India
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/Rules/India')
-rw-r--r--kppp/Rules/India/BSNL_Local.rst113
-rw-r--r--kppp/Rules/India/BSNL_Long_101_To_200.rst86
-rw-r--r--kppp/Rules/India/BSNL_Medium_51_To_100.rst86
-rw-r--r--kppp/Rules/India/Makefile.am7
-rw-r--r--kppp/Rules/India/Vsnl_local.rst102
5 files changed, 394 insertions, 0 deletions
diff --git a/kppp/Rules/India/BSNL_Local.rst b/kppp/Rules/India/BSNL_Local.rst
new file mode 100644
index 00000000..1f6008a3
--- /dev/null
+++ b/kppp/Rules/India/BSNL_Local.rst
@@ -0,0 +1,113 @@
+#####################################################################
+#
+# This is the latest rule set for Bharat Sanchar Nigam Limited,
+# It works arround 50 k.m. from any major cities in India.
+# This rule set is for M-Call to Internet Service Provider,
+# (numbers dialing with the 17XXXX format).
+# This revised tariff is applicable from 1st May 2003.
+# This is based on the BSNL Alternate packages and is applicable
+# to all the subcatogaries in this package scheme.
+#
+# Name : Thomas Mathew
+# email : thomasmathewk@netscape.net
+#
+#
+# NOTE: THIS IS MADE UNDER THE LATEST INDIAN TELECOM TARIFF.
+# I AM NOT RESPONSIBLE FOR ANY DAMAGE DUE TO USE OF THIS RULE SET.
+#
+#
+# Thanks, Bernd Wuebben
+# wuebben@math.cornell.edu / wuebben@kde.org
+#####################################################################
+
+
+#####################################################################
+#
+# BSNL_local.rst Applicable only arround 50 k.m of any major
+# cities in India. Numbers dialing with 17XXXX format without
+# any prefix.
+#
+# Salient features of Revised Telecom Tariff.
+# Local call charging 1 unit per 3 minutes during peak hours.
+# Peak hours - 06:30AM to 10:30PM.
+# Local call charging 1 unit per 10 minutes during Off peak hours.
+# Off peak hours - 10:30PM to 06:30AM.
+# Off peak rates are applicable for 24 hrs. on National Holidays
+# & Sundays.
+# Unit of call charge Rs.1.20 per unit
+#####################################################################
+name=default
+
+#####################################################################
+# Rs.1.00= Paise100
+#####################################################################
+
+# defines Rs. (Indian Rupee) to be used as currency
+# symbol (default = "$")
+currency_symbol=Rs.
+
+# Define the position of the currency symbol.
+# (not absolutely needed, default is "right")
+currency_position=left
+
+# Define the number of significant 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=1.20
+
+
+# You pay 1.20 for the first 180 seconds ( 3 minutes) no matter
+# whether you are connected for 1 second or 180 seconds.
+# This rule will take priority during the first 180 seconds
+# over any other rule, in particular the 'default' rule.
+# have a look at costgraphs.gif in the docs directory
+# of the kppp distribution for a graphic illustration.
+# flat_init_costs=(1.20, 180)
+
+# This is the default rule which is used when no other rule
+# applies. The first component "1.20" is the price of one
+# "unit", while "180" is the duration in seconds.
+# Therefore the following rule means: "Every 180 seconds 1.20
+# Rs. are added to the bill"
+# default=(1.20, 180)
+
+#
+# more complicated rules:
+#
+
+# On peak hours from 06:30AM until 10:30PM the costs
+# are 1.20 each 180 seconds.
+on (monday..sunday) between (06:30..22:30) use (1.20, 180)
+# On Off peak hours from 10:30PM until 06:30AM the costs
+# are 1.20 each 600 seconds.
+on (monday..sunday) between (22:30..06:30) use (1.20, 600)
+# On all the Sundays and the three National Holidays
+# viz. Republic Day (Jan 26th), Independance Day (Aug 15th)
+# and Mahatma Gandhi's Birthday (Oct 2nd)the costs
+# are 1.20 each 600 seconds.
+on (sunday, 1/26, 8/15, 10/2) between () use (1.20,600)
+#
+# NOTE: This rule set is applicable only if your system date and
+# time are correct to your local settings.
+# End of Rules.
+# Updates to this rule set and suggessions are most welcome.
+#####################################################################
+
diff --git a/kppp/Rules/India/BSNL_Long_101_To_200.rst b/kppp/Rules/India/BSNL_Long_101_To_200.rst
new file mode 100644
index 00000000..bd4590e9
--- /dev/null
+++ b/kppp/Rules/India/BSNL_Long_101_To_200.rst
@@ -0,0 +1,86 @@
+################################################################
+#
+# This is the latest rule set for Bharat Sanchar Nigam Limited,
+# It works between 101k.m. to 200k.m. from any major cities in
+# India. This revised tariff is applicable from 01-02-2001.
+#
+# Name : Rex
+# email : rex@caltiger.com
+#
+#
+# NOTE: THIS IS MADE UNDER LATEST INDIAN TELECOM TARIFF. I AM
+# NOT RESPONSIBLE FOR ANY DAMAGE DUE TO USE OF THIS RULE SET.
+#
+#
+# Thanks, Bernd Wuebben
+# wuebben@math.cornell.edu / wuebben@kde.org
+################################################################
+
+
+################################################################
+#
+# BSNL_Long_101_To_200.rst Applicable between 101 k.m to 200k.m.
+# from any major cities in India.
+#
+# Salient features of Revised Telecom Tariff.
+# Medium-long distance (101k.m. - 200k.m.) call charging 1 unit
+# per 30 seconds.
+# Unit of call charge Rs.1.20 per unit.
+# for all types of charges : Service Tax @ 5% to be paid extra.
+################################################################
+name=default
+
+################################################################
+# Rs.1.00= Paise100
+################################################################
+
+# defines ATS (Austrian Schilling) to be used as currency
+# symbol (not absolutely needed, default = "$")
+currency_symbol=Rs.
+
+# Define the position of the currency symbol.
+# (not absolutely needed, default is "right")
+currency_position=left
+
+# Define the number of significant 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 per connection. If the costs of a phone
+# call are less than this value, this value is used instead
+minimum_costs=0.0
+
+
+# You pay .74 for the first 180 seconds ( 3 minutes) no matter
+# whether you are connected for 1 second or 180 seconds.
+# This rule will take priority during the first 180 seconds
+# over any other rule, in particular the 'default' rule.
+# have a look at costgraphs.gif in the docs directory
+# of the kppp distribution for a graphic illustration.
+flat_init_costs=(1.26, 30)
+
+# 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 in seconds.
+# Therefore the following rule means: "Every 72 seconds 0.1
+# ATS are added to the bill"
+default=(1.26, 30)
+
+#
+# more complicated rules:
+#
diff --git a/kppp/Rules/India/BSNL_Medium_51_To_100.rst b/kppp/Rules/India/BSNL_Medium_51_To_100.rst
new file mode 100644
index 00000000..65241e62
--- /dev/null
+++ b/kppp/Rules/India/BSNL_Medium_51_To_100.rst
@@ -0,0 +1,86 @@
+################################################################
+#
+# This is the latest rule set for Bharat Sanchar Nigam Limited,
+# It works between 51 k.m. to 100k.m. from any major cities in
+# India. This revised tariff is applicable from 01-02-2001.
+#
+# Name : Rex
+# email : rex@caltiger.com
+#
+#
+# NOTE: THIS IS MADE UNDER LATEST INDIAN TELECOM TARIFF. I AM
+# NOT RESPONSIBLE FOR ANY DAMAGE DUE TO USE OF THIS RULE SET.
+#
+#
+# Thanks, Bernd Wuebben
+# wuebben@math.cornell.edu / wuebben@kde.org
+################################################################
+
+
+################################################################
+#
+# BSNL_Medium_51_To_100.rst Applicable between 51 k.m to 101k.m.
+# from any major cities in India.
+#
+# Salient features of Revised Telecom Tariff.
+# Medium distance (51k.m.-100k.m.) calls charging 1 unit per 2
+# minutes.
+# Unit of call charge Rs.1.20 per unit.
+# for all types of charges : Service Tax @ 5% to be paid extra.
+################################################################
+name=default
+
+################################################################
+# Rs.1.00= Paise100
+################################################################
+
+# defines ATS (Austrian Schilling) to be used as currency
+# symbol (not absolutely needed, default = "$")
+currency_symbol=Rs.
+
+# Define the position of the currency symbol.
+# (not absolutely needed, default is "right")
+currency_position=left
+
+# Define the number of significant 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 per connection. If the costs of a phone
+# call are less than this value, this value is used instead
+minimum_costs=0.0
+
+
+# You pay .74 for the first 180 seconds ( 3 minutes) no matter
+# whether you are connected for 1 second or 180 seconds.
+# This rule will take priority during the first 180 seconds
+# over any other rule, in particular the 'default' rule.
+# have a look at costgraphs.gif in the docs directory
+# of the kppp distribution for a graphic illustration.
+flat_init_costs=(1.26, 120)
+
+# 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 in seconds.
+# Therefore the following rule means: "Every 72 seconds 0.1
+# ATS are added to the bill"
+default=(1.26, 120)
+
+#
+# more complicated rules:
+#
diff --git a/kppp/Rules/India/Makefile.am b/kppp/Rules/India/Makefile.am
new file mode 100644
index 00000000..a7f85ba1
--- /dev/null
+++ b/kppp/Rules/India/Makefile.am
@@ -0,0 +1,7 @@
+pkg_DATA = Vsnl_local.rst BSNL_Local.rst \
+ BSNL_Long_101_To_200.rst \
+ BSNL_Medium_51_To_100.rst
+
+pkgdir = $(kde_datadir)/kppp/Rules/India
+
+EXTRA_DIST = $(pkg_DATA)
diff --git a/kppp/Rules/India/Vsnl_local.rst b/kppp/Rules/India/Vsnl_local.rst
new file mode 100644
index 00000000..914e4e0f
--- /dev/null
+++ b/kppp/Rules/India/Vsnl_local.rst
@@ -0,0 +1,102 @@
+################################################################
+# India's Vsnl Accounting rules (for local phone dial up connections).
+# Created 18th June, 1999 by Madhusudan Singh (kchhabra@ch1.dot.net.in)
+# Valid till : next second or next great civilization (as your judgement
+# thinks !!!)
+################################################################
+#DISCLAIMER:
+#There is no guarantee that these rules are valid for all users.
+#They work for me and I can't care more. In case, you find another rule
+#set appropriate to your region, please mail it to wuebben@kde.org
+#I do not accept any responsibility for any damage/inconvenience caused by
+#the use of these rules. Use at your own risk.
+################################################################
+#
+# NAME OF THE RULESET. This is NEEDED for accounting purposes.
+#
+################################################################
+name=vsnl
+
+################################################################
+# currency settings
+################################################################
+#defines Indian rupees as the currency.
+# Re 1/- = 100 paise.
+#Plural for Re. is Rs.
+#Paise is the lowest unit of coinage (Though it is hard to find any change
+#in the market, I think that we should believe the GOI that it is really the lowest
+#monetary unit)
+# symbol (not absolutely needed, default = "Rs")
+currency_symbol=Rs.
+
+# Define the position of the currency symbol.
+# (not absolutely needed, default is "right")
+currency_position=left
+
+# Define the number of significant 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 per connection. If the costs of a phone
+# call are less than this value, this value is used instead
+minimum_costs=0.0
+
+
+#flat_init_costs=(1.25,120)
+
+# This is the default rule which is used when no other rule
+# applies. The first component "1.40" is the price of one
+# "unit", while "180" is the duration in seconds.
+# Therefore the following rule means: "Every 180 seconds 1.40
+# Rupees are added to the bill"
+default=(1.40, 180)
+
+# This is a major simplification.
+# Local phone call rates vary with the number of local calls made.
+# I am assuming the worst case scenario.
+# Upto 150 phone calls : Free !
+# 151-500 phone calls : 0.80
+# 501-1000 phone calls : 1.00
+# 1001-2000 phone calls : 1.25
+# >2000 phone calls : 1.40
+
+#I have not attempted to code this as it is possible that you are using
+# your phone line for ordinary voice calls/fax as well. In that case, it would
+# really be fajool di gall to code all that.
+
+#This rule set also does not do justice to those unlucky ones amongst us who have to
+#dial an outstation STD number to get to the nearest VSNL/DOT node. For them : aape karo !
+#Ate navin .rst file Wuebben nu ghall deo. (wuebben@kde.org).
+#Rabb Rakha.
+#
+# more complicated rules:
+#
+
+# The "on()" rules above all relates to current time only. You can also
+# make a rule depend on the number of seconds you have been connected
+# by specifying this time as a third argument to "use()".
+# For instance, let's say normal rate in the evening is 0.20 per minute,
+# and it drops by 20% after one hour of connect time. This can be modelled
+# like:
+
+#on () between (19:30..08:00) use (0.20, 60)
+#on () between (19:30..08:00) use (0.16, 60, 3600)
+
+# Note that these rules, just like other rules, are sensitive to the
+# order in which they appear.
+