Billing Concepts
This section is dedicated entirely for billing system. Here is configured the actual call-flow from user to provider(s).
Billing system is quite complex and there are a lot of concepts to grasp.
There are main parts from which billing in MOR consists. The most important are:
- Providers
- LCR
- Directions
- Destinations
- Rates
- Tariffs
- Users
- Devices
Providers - In old PSTN world they are called Trunks. These are your routes to outside world (out of your VoIP network). Providers can be several types: Zap, SIP, IAX2, and H323. Type determines which technology is used to connect to Provider.
LCR - Least Cost Route. It's an entity which describes how calls should go through several Providers and in which order. Order can be determined by calls route's price, quality or manual priority.
Directions - In other words - Countries. Could also be satellite networks. They just describe direction to which the call is routed.
Destinations - these are more concrete concepts of the calls course. Let's say we are dialing number 37068547771. From this number MOR knows, that Direction is Lithuania, but Destination is Mobile network Bite. Destinations are determined by Prefix. Each destination has unique Prefix. The Prefix from the example is 370685.
Rates - these are the prices for Destinations. They have many properties from which the way they are calculated depends.
Tariffs - they are groups of Rates. Sometimes they are called Price Lists.
Users - User is the actual user of the system – the client which dials out or receives calls. User can represent one person or whole company. User is main unit in the system. Most of the settings are associated with user.
Devices - Each user can have many devices. Device represents end-point where voice traffic should be sent. As example device can represent:
- VoIP phone
- VoIP softphone
- PSTN phone (connected through FXS port)