This optional parameter defines one service for a Service
Database. You can define multiple Service
parameters.
Format is "key1:value1 key2:value2 ...".
Supported keys are:
- id
- name
- price
- poolIPv4
- poolIPv6
- checkItems
- replyItems
- requireConfirm
- expiry
- prepaidTime
- postpaidTime
- prepaidQuota
- postpaidQuota
- allowQuotaToExceed
- disallowResubscribe
- prepaidUpRate
- prepaidDownRate
- postpaidUpRate
- postpaidDownRate
- throtUpRate
- throtDownRate
For example a sample configuration, see goodies/README.hotspot
and goodies/hotspot.cfg. Here is an example of defining multiple
Services.
# Service 1: free, 1 hour, 50M data, no policers
Service name:free price:0 prepaidTime:1h prepaidQuota:50M \
replyItems:"OSC-AVPAIR=Test1,OSC-AVPAIR=Test2"
# Service 2: price 1000 cents, 1 day, 100M data, 100M/10M policers
Service name:premium price:1000 prepaidTime:24h prepaidQuota:100M \
prepaidUpRate:10M prepaidDownRate:100M
# Service 3: price 2000 cents, 1 day, 1G data, 100M/100M policers
Service name:gold price:2000 prepaidTime:24h prepaidQuota:1G \
prepaidUpRate:100M prepaidDownRate:100M