Difference between revisions of "Billing Logic"

From Kolmisoft Wiki
Jump to navigationJump to search
(New page: In order to successfully use MOR for dialing out and billing some rules must be met. Best way to show this is by example. * User A dials number trying to reach User B. * System takes Use...)
 
Line 16: Line 16:


The whole process in MOR is much more complex. This example covers bare minimum to take grasp of how the billing system works.
The whole process in MOR is much more complex. This example covers bare minimum to take grasp of how the billing system works.
<br><br>
== See also ==
* [[Call logic]]

Revision as of 07:20, 16 September 2009

In order to successfully use MOR for dialing out and billing some rules must be met.

Best way to show this is by example.

  • User A dials number trying to reach User B.
  • System takes User's A Tariff and LCR.
  • Then takes all Providers which belong to that LCR.
  • For every Provider system takes their Tariff.
  • From every Tariff based on Prefix - Rate is taken.
  • If LCR's type is 'Price' then all Providers are sorted that first Provider would have lowest Rate to that Destination.
  • Then system tries to dial number using first Provider.
  • If call successful - system does billing and finishes session.
  • If call unsuccessful - system tries to dial next Provider in a row.
  • It repeats until call is successful or no Providers left.
  • When call ends - system bills it.

The whole process in MOR is much more complex. This example covers bare minimum to take grasp of how the billing system works.




See also