# Tariff file for one2one Precept 100

name one2one Precept 100
network one2one

connection fee 35.00
monthly line rental 25.00
#monthly itemised billing 0.00
#monthly local call option 0.00
max cost error 0.00005
#min call length 4

# Define charge bands
bands daytime, evening, weekend

# Give pseudo-code to calculate which band we're in.
# Code must return one of the bands given above.
band_code {
  return 'weekend' if $dow >= 6;
  return ($hour >= 7 and $hour < 19) ? 'daytime' : 'evening';
}

# What do you get "free"?
100 mins inclusive monthly for local landline, national landline, fax, data, network mobile

# Here are the rates.
rate local landline     daytime=5, evening=5, weekend=5
rate national landline  daytime=5, evening=5, weekend=5
rate network mobile     daytime=10, evening=10, weekend=10
rate crossnet mobile    daytime=20, evening=20, weekend=20
rate voicemail          0
rate network sms        4
rate crossnet sms       10
rate fax                daytime=5, evening=5, weekend=5
rate data               daytime=5, evening=5, weekend=5
