Billing: Difference between revisions

From VoIPmonitor.org
(Created page with "= Billing feature overview = * CDR contains two price types - customer price and operator price. The purpose is to know how you are selling and what it costs watching expens...")
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Billing feature overview =  
== Billing Feature Overview ==


* CDR contains two price types - customer price and operator price. The purpose is to know how you are selling and what it costs watching expense to various operators etc.  
* Two price types in CDR: Customer and operator (for comparing operators).
* multiple billing tables - for each of your operator and for each customer  
* Multiple billing tables: For each operator and customer.
* billing watchdog rule quota - per hour / day / week / month aggregated per src IP or per tel. number  
* Billing watchdog rules: Quotas per hour/day/week/month aggregated by src IP or tel. number.
* billing watchdog rule expensive destination
* Billing watchdog rules: For expensive destinations.


= Settings -> Billing configuration =
== Settings > Billing Configuration ==


== billing type / rules ==
Sections: Billing type/rules, state holidays, operator assignment, customer assignment, exclude, aggregation, currency, settings.


Here you need to create at least one billing table which will be used to bill customer and operator price. If you do not need to have customer price but only operator price, just create one billing table for each operator (if you have different pricing for each operator) and do not check "Default customer billing" checkbox.
=== Billing Type / Rules ===


* Name: name of the billing table
Create at least one billing table for customer/operator prices. For operator-only, create per operator and assign in "operator assignment" without "Default customer billing".
* State holidays: choose holidays table which will be used if peak is enabled
* Default price: is price per minute (offpeak if peak/offpeak enabled)
* Enable peak / offpeak: enable billing based on peak / offpeak
* Default price peak: is price per minute for peak period (and offpeak if peak/offpeak enabled)
* Default T1: number of seconds for the first impulse.
* Default T2: lenght of period. For example call was 30 seconds length and T1 is 10 and T2 is 6 the number of seconds to bill will be 10 + 4*6 = 34 seconds.
* Default customer billing: if checked all customer prices who are not assigned in "customer assignment" will be billed based on this billing table


After creating billing table you need to add billing rules:  
* Name: Billing table name.
* State holidays: Assign holidays table for peak/offpeak.
* Default price: Per-minute (offpeak if peak/offpeak enabled).
* Enable peak/offpeak: For time-based billing.
* Default price peak: Peak per-minute.
* Default T1: First impulse seconds.
* Default T2: Period length (e.g., 30s call, T1=10, T2=6: Bill 10 + 4*6 = 34s).
* Default customer billing: Applies to unassigned customers.


* name: of the billing rule
Add billing rules (CSV export/import):
* prefix number: rule will match based on the same prefix
 
* fixed number: rule will match based on the same exact number
* Name: Rule name.
* price: price for the destination (offpeak if peak/offpeak enabled)
* Prefix number: Match prefix.
* price peak: price for the destination in peak period (if peak/offpeak enabled)
* Fixed number: Match exact.
*
* Price: Destination (offpeak if enabled).
* Price peak: Peak destination.
* Override default peak/offpeak: Custom times.
* T1: Custom first impulse.
* T2: Custom period.
 
=== State Holidays ===
 
Holidays table for offpeak treatment. Define only for peak/offpeak billing.
 
=== Operator Assignment ===
 
Rules per operator with billing table. Excludes customer price for operator calls (bills outgoing only). For both prices: One default customer table, assign operator tables here.
 
Override international prefixes per operator (see [[#settings]]).
 
=== Customer Assignment ===
 
Apply different tables to customers by src IP or tel. numbers/prefixes if default insufficient.
 
Override international prefixes per customer (see [[#settings]]).
 
=== Exclude ===
 
Rules to exclude billing by src/dst IP or tel. prefixes/numbers.
 
=== Aggregation ===
 
Summarizes costs by src IP/tel. number for hour/day/week/month/year. Used in fraud/alerts for quota rules.
 
==== Settings ====
 
* Enable by addresses: Per src IP.
* Enable by numbers: Per tel. number.
* Week start.
* Hours/days/weeks/months/years: Retention periods.
 
==== Exclude Addresses ====
 
Exclude src/dst IPs (e.g., operators/SIP proxies) for customer-only data.
 
==== Exclude Numbers ====
 
Exclude src/dst numbers. Prioritize addresses to avoid unnecessary data.
 
=== Currency ===
 
Optional for single currency. Multiple: Recalculates to main via Google rates (view-only, not stored).
 
* Code: e.g., USD.
* Custom code: Symbol, e.g., "$".
* Name: Currency name.
* Country: Select.
* Main currency: Recalculate all to this.
* Description.
 
=== Settings ===
 
* International prefixes: Distinguish local/international (default: 00, +).
* Min. international length: Treat longer numbers as international if no prefix.
* Local numbers are in: Prefix local numbers with international code for selected country.
 
== Watchdog ==
 
In Alerts/Anti Fraud: Two rules requiring aggregation enabled.
 
=== Billing Over Quota ===
 
Checks billed sums per src IP/tel. number or groups for periods. Alerts on thresholds.
 
* Enabled: On/off.
* Every N minutes: Check frequency.
* Enable hyperlinks: Links in emails.
* Hour/day/week/month: Max costs.
* Summary: Aggregate included callers/IPs.
* Include/Exclude IP/numbers: Filter calls. None: Per individual IP/number.
 
=== Billing High Rate ===
 
Alerts on destinations > cost/minute threshold.
 
* Enabled: On/off.
* Every N minutes: Check frequency.
* Enable hyperlinks: Links in emails.
* Limit: Cost/minute threshold.
* Include/Exclude IP/numbers: Filter calls. None: Per individual IP/number.
 
=== AI Summary for RAG ===
 
'''Summary:''' This article overviews VoIPmonitor's billing features: Price types, tables, watchdog rules for quotas/expensive destinations; configuration sections for types/rules, holidays, assignments, excludes, aggregation, currency, settings; and watchdog details.
 
'''Keywords:''' billing, customer price, operator price, billing tables, peak/offpeak, currency, watchdog, quota, high rate
 
'''Key Questions:'''
* What are the key billing features in VoIPmonitor?
* How to create and configure billing tables/rules?
* What is state holidays for in billing?
* How to exclude calls from billing?
* How to handle multiple currencies?
* What are international prefix settings?
* How do billing watchdog rules function?

Latest revision as of 14:38, 10 November 2025

Billing Feature Overview

  • Two price types in CDR: Customer and operator (for comparing operators).
  • Multiple billing tables: For each operator and customer.
  • Billing watchdog rules: Quotas per hour/day/week/month aggregated by src IP or tel. number.
  • Billing watchdog rules: For expensive destinations.

Settings > Billing Configuration

Sections: Billing type/rules, state holidays, operator assignment, customer assignment, exclude, aggregation, currency, settings.

Billing Type / Rules

Create at least one billing table for customer/operator prices. For operator-only, create per operator and assign in "operator assignment" without "Default customer billing".

  • Name: Billing table name.
  • State holidays: Assign holidays table for peak/offpeak.
  • Default price: Per-minute (offpeak if peak/offpeak enabled).
  • Enable peak/offpeak: For time-based billing.
  • Default price peak: Peak per-minute.
  • Default T1: First impulse seconds.
  • Default T2: Period length (e.g., 30s call, T1=10, T2=6: Bill 10 + 4*6 = 34s).
  • Default customer billing: Applies to unassigned customers.

Add billing rules (CSV export/import):

  • Name: Rule name.
  • Prefix number: Match prefix.
  • Fixed number: Match exact.
  • Price: Destination (offpeak if enabled).
  • Price peak: Peak destination.
  • Override default peak/offpeak: Custom times.
  • T1: Custom first impulse.
  • T2: Custom period.

State Holidays

Holidays table for offpeak treatment. Define only for peak/offpeak billing.

Operator Assignment

Rules per operator with billing table. Excludes customer price for operator calls (bills outgoing only). For both prices: One default customer table, assign operator tables here.

Override international prefixes per operator (see #settings).

Customer Assignment

Apply different tables to customers by src IP or tel. numbers/prefixes if default insufficient.

Override international prefixes per customer (see #settings).

Exclude

Rules to exclude billing by src/dst IP or tel. prefixes/numbers.

Aggregation

Summarizes costs by src IP/tel. number for hour/day/week/month/year. Used in fraud/alerts for quota rules.

Settings

  • Enable by addresses: Per src IP.
  • Enable by numbers: Per tel. number.
  • Week start.
  • Hours/days/weeks/months/years: Retention periods.

Exclude Addresses

Exclude src/dst IPs (e.g., operators/SIP proxies) for customer-only data.

Exclude Numbers

Exclude src/dst numbers. Prioritize addresses to avoid unnecessary data.

Currency

Optional for single currency. Multiple: Recalculates to main via Google rates (view-only, not stored).

  • Code: e.g., USD.
  • Custom code: Symbol, e.g., "$".
  • Name: Currency name.
  • Country: Select.
  • Main currency: Recalculate all to this.
  • Description.

Settings

  • International prefixes: Distinguish local/international (default: 00, +).
  • Min. international length: Treat longer numbers as international if no prefix.
  • Local numbers are in: Prefix local numbers with international code for selected country.

Watchdog

In Alerts/Anti Fraud: Two rules requiring aggregation enabled.

Billing Over Quota

Checks billed sums per src IP/tel. number or groups for periods. Alerts on thresholds.

  • Enabled: On/off.
  • Every N minutes: Check frequency.
  • Enable hyperlinks: Links in emails.
  • Hour/day/week/month: Max costs.
  • Summary: Aggregate included callers/IPs.
  • Include/Exclude IP/numbers: Filter calls. None: Per individual IP/number.

Billing High Rate

Alerts on destinations > cost/minute threshold.

  • Enabled: On/off.
  • Every N minutes: Check frequency.
  • Enable hyperlinks: Links in emails.
  • Limit: Cost/minute threshold.
  • Include/Exclude IP/numbers: Filter calls. None: Per individual IP/number.

AI Summary for RAG

Summary: This article overviews VoIPmonitor's billing features: Price types, tables, watchdog rules for quotas/expensive destinations; configuration sections for types/rules, holidays, assignments, excludes, aggregation, currency, settings; and watchdog details.

Keywords: billing, customer price, operator price, billing tables, peak/offpeak, currency, watchdog, quota, high rate

Key Questions:

  • What are the key billing features in VoIPmonitor?
  • How to create and configure billing tables/rules?
  • What is state holidays for in billing?
  • How to exclude calls from billing?
  • How to handle multiple currencies?
  • What are international prefix settings?
  • How do billing watchdog rules function?